[#1002039] Nginx日志采集过滤Countly日志文件

This commit is contained in:
pengln 2022-02-15 11:21:23 +08:00
parent 46e42aa987
commit e9ec1f3367
1 changed files with 2 additions and 1 deletions

View File

@ -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"