From 46e42aa987caefe98dbe250d3685154ba5d87e3a Mon Sep 17 00:00:00 2001 From: pengln Date: Tue, 15 Feb 2022 11:12:33 +0800 Subject: [PATCH] =?UTF-8?q?#[1002041]=20=E5=8F=AA=E7=BB=99quick=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=92=8Cgw=E6=97=A5=E5=BF=97=E5=BC=80=E5=90=AFelastic?= =?UTF-8?q?=5Fdelays=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/defaults/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.40.1