Merge pull request '修订sublog默认值的bug' (#41) from pengln/filebeat:master into master

Reviewed-on: https://app.huanyuantech.com:10301/gitea/ansible-collection/filebeat/pulls/41
This commit is contained in:
pengln 2021-12-21 16:33:55 +08:00
commit 8de9b81bee
1 changed files with 1 additions and 1 deletions

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