mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 07:23:06 +01:00
Filebeat Module - Fix some spacing and syntax
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user