修订sublog默认值的bug #41

Merged
pengln merged 1 commits from pengln/filebeat:master into master 2021-12-21 16:33:56 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5e884c9e31 - Show all commits

View File

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