mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Only check for logscan on manager-type and import
This commit is contained in:
@@ -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' %}
|
||||
|
||||
Reference in New Issue
Block a user