From e9ec1f336725fa1894adc8b3d9dfee72a0a66c10 Mon Sep 17 00:00:00 2001 From: pengln Date: Tue, 15 Feb 2022 11:21:23 +0800 Subject: [PATCH] =?UTF-8?q?[#1002039]=20Nginx=E6=97=A5=E5=BF=97=E9=87=87?= =?UTF-8?q?=E9=9B=86=E8=BF=87=E6=BB=A4Countly=E6=97=A5=E5=BF=97=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/filebeat/defaults/main.yml b/playbooks/roles/filebeat/defaults/main.yml index 9048496..17ef4d8 100644 --- a/playbooks/roles/filebeat/defaults/main.yml +++ b/playbooks/roles/filebeat/defaults/main.yml @@ -22,7 +22,8 @@ filebeat_logs: index_prefix: "gw-nginx" template_name: "gw-nginx-ug10cn" template_pattern: "gw-nginx-*" - exclude_files: '_81\.log$' + #[#1002039] Nginx日志采集过滤Countly日志文件 + exclude_files: ['_81\.log$', '.*countly.*\.log$'] dissect_tokenizers: - tokenizer: "/%{}/%{}/%{}/%{}_%{sublog}.log" field_name: "log.file.path"