mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Filebeat Module - Change the filebeat.yml
This commit is contained in:
@@ -8,32 +8,28 @@ filebeat.modules:
|
|||||||
filebeat.prospectors:
|
filebeat.prospectors:
|
||||||
#------------------------------ Log prospector --------------------------------
|
#------------------------------ Log prospector --------------------------------
|
||||||
|
|
||||||
{%- for LOGNAME in salt['pillar.get']('brologs:enabled', '') %}}
|
{%- for LOGNAME in salt['pillar.get']('brologs:enabled', '') %}
|
||||||
- type: log
|
- type: log
|
||||||
enabled: true
|
paths:
|
||||||
paths:
|
- /nsm/bro/spool/{{ LOGNAME }}.log
|
||||||
- /nsm/bro/spool/{{ LOGNAME }}.log
|
fields:
|
||||||
tags: ["bro_{{ LOGNAME }}"]
|
type: bro_{{ LOGNAME }}
|
||||||
exclude_files: ['.gz$']
|
fields_under_root: true
|
||||||
|
tags: ["bro"]
|
||||||
|
clean_removed: false
|
||||||
|
close_removed: false
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
- type: log
|
- type: log
|
||||||
|
paths:
|
||||||
# Change to true to enable this prospector configuration.
|
- /suricata/eve.json
|
||||||
enabled: true
|
fields:
|
||||||
|
type: snort
|
||||||
# Paths that should be crawled and fetched. Glob based paths.
|
fields_under_root: true
|
||||||
# To fetch all ".log" files from a specific level of subdirectories
|
tags: ["ids"]
|
||||||
# /var/log/*/*.log can be used.
|
clean_removed: false
|
||||||
# For each file found under this path, a harvester is started.
|
close_removed: false
|
||||||
# Make sure not file is defined twice as this can lead to unexpected behaviour.
|
|
||||||
paths:
|
|
||||||
- /suricata/eve.json
|
|
||||||
tags: ids
|
|
||||||
#- c:\programdata\elasticsearch\logs\*
|
|
||||||
|
|
||||||
exclude_files: ['.gz$']
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------- Logstash output ---------------------------------
|
#----------------------------- Logstash output ---------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user