修复排除项判断错误导致无法启动filebeat的问题
This commit is contained in:
parent
8a9799148c
commit
d7db5cc45c
|
@ -9,7 +9,7 @@ filebeat.config.inputs:
|
|||
filebeat.inputs:
|
||||
- type: log
|
||||
paths: {{ logs[log_type]['paths'] }}
|
||||
{% if logs[log_type]['exclude_files'] -%}
|
||||
{% if "exclude_files" in logs[log_type] -%}
|
||||
exclude_files: {{ logs[log_type]['exclude_files'] }}
|
||||
{% endif -%}
|
||||
harvester_buffer_size: 40960
|
||||
|
|
Loading…
Reference in New Issue