Filebeat Module - Fix some spacing and syntax

This commit is contained in:
Mike Reeves
2018-10-15 20:32:28 -04:00
parent cd823a26f3
commit 66d2a7db94

View File

@@ -8,13 +8,14 @@ filebeat.modules:
filebeat.prospectors:
#------------------------------ Log prospector --------------------------------
{%- for LOGNAME in salt['pillar.get']('brologs:enabled', {}).iteritems() %}}
{%- for LOGNAME in salt['pillar.get']('brologs:enabled', '') %}}
- type: log
enabled: true
paths:
- /nsm/bro/spool/{{ LOGNAME }}.log
tags: ["bro_{{ LOGNAME }}"]
exclude_files: ['.gz$']
{%- endfor %}
- type: log