From 5e884c9e3149df26a32786270cb63af5bab9bc9d Mon Sep 17 00:00:00 2001 From: pengln Date: Tue, 21 Dec 2021 16:33:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AE=A2sublog=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E7=9A=84bug?= 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 210dec7..0104234 100644 --- a/playbooks/roles/filebeat/templates/filebeat_monitor.yaml +++ b/playbooks/roles/filebeat/templates/filebeat_monitor.yaml @@ -1,5 +1,5 @@ project: {{ instance_name }} -sublog: {{ log_type }} +sublog: {{ 'quick' if log_type == 'quick' else '' }} filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | default('filebeat.yml') }} metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }} push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }}