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('') }}