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"