Merge pull request '#[1002041] 只给quick日志和gw日志开启elastic_delays检查' (#61) from pengln/filebeat:master into master

Reviewed-on: https://app.huanyuantech.com:10301/gitea/ansible-collection/filebeat/pulls/61
This commit is contained in:
pengln 2022-02-15 11:13:56 +08:00
commit 3cc0f5f74d
1 changed files with 5 additions and 1 deletions

View File

@ -28,6 +28,8 @@ filebeat_logs:
field_name: "log.file.path" field_name: "log.file.path"
filebeat_older_dir: "/data/opt/filebeat/{{ instance_name }}" filebeat_older_dir: "/data/opt/filebeat/{{ instance_name }}"
filebeat_older_data_dir: data filebeat_older_data_dir: data
#[1002041] 只给quick日志和gw日志开启elastic_delays检查
elastic_delays_metric_enabled: True
manager: manager:
paths: paths:
- "/data/game/htdocs/center/manager/storage/cp/logs/*.log" - "/data/game/htdocs/center/manager/storage/cp/logs/*.log"
@ -53,4 +55,6 @@ filebeat_logs:
layouts: layouts:
- '2006-01-02 15:04:05' - '2006-01-02 15:04:05'
filebeat_older_dir: "/data/opt/filebeat/quick" filebeat_older_dir: "/data/opt/filebeat/quick"
filebeat_older_data_dir: data filebeat_older_data_dir: data
#[1002041] 只给quick日志和gw日志开启elastic_delays检查
elastic_delays_metric_enabled: True