Only check for logscan on manager-type and import

This commit is contained in:
William Wernert
2021-08-05 11:02:09 -04:00
parent 478a0b6a3f
commit dd1769fbef

View File

@@ -112,6 +112,7 @@ filebeat.inputs:
fields: ["source", "prospector", "input", "offset", "beat"]
fields_under_root: true
{%- if grains['role'] in ['so-eval', 'so-standalone', 'so-manager', 'so-managersearch', 'so-import'] %}
- type: log
paths:
- /logs/logscan/alerts.log
@@ -124,6 +125,7 @@ filebeat.inputs:
fields_under_root: true
clean_removed: true
close_removed: false
{%- endif %}
{%- if grains['role'] in ['so-eval', 'so-standalone', 'so-sensor', 'so-helix', 'so-heavynode', 'so-import'] %}
{%- if ZEEKVER != 'SURICATA' %}