修订sublog默认值的bug

This commit is contained in:
pengln 2021-12-21 16:33:25 +08:00
parent 2f068f2081
commit 5e884c9e31
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
project: {{ instance_name }} 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') }} filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | default('filebeat.yml') }}
metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }} metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }}
push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }} push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }}