mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 15:33:06 +01:00
Filebeat Module - Fix bro logs to make them work
This commit is contained in:
@@ -14,7 +14,7 @@ filebeat.prospectors:
|
|||||||
{%- for LOGNAME in salt['pillar.get']('brologs:enabled', '') %}
|
{%- for LOGNAME in salt['pillar.get']('brologs:enabled', '') %}
|
||||||
- type: log
|
- type: log
|
||||||
paths:
|
paths:
|
||||||
- /nsm/bro/spool/{{ LOGNAME }}.log
|
- /nsm/bro/logs/current/{{ LOGNAME }}.log
|
||||||
fields:
|
fields:
|
||||||
type: bro_{{ LOGNAME }}
|
type: bro_{{ LOGNAME }}
|
||||||
fields_under_root: true
|
fields_under_root: true
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ so-filebeat:
|
|||||||
- binds:
|
- binds:
|
||||||
- /opt/so/log/filebeat:/var/log/filebeat:rw
|
- /opt/so/log/filebeat:/var/log/filebeat:rw
|
||||||
- /opt/so/conf/filebeat/etc/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
- /opt/so/conf/filebeat/etc/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
||||||
- /nsm/bro/spool/manager:/nsm/bro/spool:ro
|
- /nsm/bro:/nsm/bro:ro
|
||||||
- /opt/so/log/suricata:/suricata:ro
|
- /opt/so/log/suricata:/suricata:ro
|
||||||
- /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro
|
- /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro
|
||||||
- /opt/so/conf/filebeat/etc/pki/filebeat.key:/usr/share/filebeat/filebeat.key:ro
|
- /opt/so/conf/filebeat/etc/pki/filebeat.key:/usr/share/filebeat/filebeat.key:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user