forked from ansible-collection/filebeat
Merge pull request '[#1002039] Nginx日志采集过滤Countly日志文件' (#62) from pengln/filebeat:master into master
Reviewed-on: https://app.huanyuantech.com:10301/gitea/ansible-collection/filebeat/pulls/62
This commit is contained in:
commit
465bf8f349
|
@ -22,7 +22,8 @@ filebeat_logs:
|
||||||
index_prefix: "gw-nginx"
|
index_prefix: "gw-nginx"
|
||||||
template_name: "gw-nginx-ug10cn"
|
template_name: "gw-nginx-ug10cn"
|
||||||
template_pattern: "gw-nginx-*"
|
template_pattern: "gw-nginx-*"
|
||||||
exclude_files: '_81\.log$'
|
#[#1002039] Nginx日志采集过滤Countly日志文件
|
||||||
|
exclude_files: ['_81\.log$', '.*countly.*\.log$']
|
||||||
dissect_tokenizers:
|
dissect_tokenizers:
|
||||||
- tokenizer: "/%{}/%{}/%{}/%{}_%{sublog}.log"
|
- tokenizer: "/%{}/%{}/%{}/%{}_%{sublog}.log"
|
||||||
field_name: "log.file.path"
|
field_name: "log.file.path"
|
||||||
|
|
Loading…
Reference in New Issue