diff --git a/playbooks/roles/filebeat/defaults/main.yml b/playbooks/roles/filebeat/defaults/main.yml index b96dcb9..9048496 100644 --- a/playbooks/roles/filebeat/defaults/main.yml +++ b/playbooks/roles/filebeat/defaults/main.yml @@ -28,6 +28,8 @@ filebeat_logs: field_name: "log.file.path" filebeat_older_dir: "/data/opt/filebeat/{{ instance_name }}" filebeat_older_data_dir: data + #[1002041] 只给quick日志和gw日志开启elastic_delays检查 + elastic_delays_metric_enabled: True manager: paths: - "/data/game/htdocs/center/manager/storage/cp/logs/*.log" @@ -53,4 +55,6 @@ filebeat_logs: layouts: - '2006-01-02 15:04:05' filebeat_older_dir: "/data/opt/filebeat/quick" - filebeat_older_data_dir: data \ No newline at end of file + filebeat_older_data_dir: data + #[1002041] 只给quick日志和gw日志开启elastic_delays检查 + elastic_delays_metric_enabled: True \ No newline at end of file