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:
commit
8de9b81bee
|
@ -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('') }}
|
||||||
|
|
Loading…
Reference in New Issue