From 1d874245bd4daaeb71b20f0e38f52ba44e60b488 Mon Sep 17 00:00:00 2001 From: pengln Date: Tue, 15 Feb 2022 17:30:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Delastic=5Fdelays=5Fmetric=5Fe?= =?UTF-8?q?nabled=E5=B1=9E=E6=80=A7=E5=A7=8B=E7=BB=88=E6=B8=B2=E6=9F=93?= =?UTF-8?q?=E4=B8=BAFalse=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/roles/filebeat/templates/filebeat_monitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/filebeat/templates/filebeat_monitor.yaml b/playbooks/roles/filebeat/templates/filebeat_monitor.yaml index b0dd6d3..83a030c 100644 --- a/playbooks/roles/filebeat/templates/filebeat_monitor.yaml +++ b/playbooks/roles/filebeat/templates/filebeat_monitor.yaml @@ -6,4 +6,4 @@ metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }} push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }} push_gateway_lifecycle: {{ filebeat_monitor_push_lifecycle | default(5) }} log_path: {{ filebeat_monitor_log_path | default('logs/filebeat_monitor.log') }} -elastic_delays_metric_enabled: {{ elastic_delays_metric_enabled | default('False')}} +elastic_delays_metric_enabled: {{ logs[log_type]['elastic_delays_metric_enabled'] | default('False')}}