mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Filebeat Module - Change log dir mapping
This commit is contained in:
@@ -40,7 +40,7 @@ logging.to_files: true
|
|||||||
logging.files:
|
logging.files:
|
||||||
# Configure the path where the logs are written. The default is the logs directory
|
# Configure the path where the logs are written. The default is the logs directory
|
||||||
# under the home path (the binary location).
|
# under the home path (the binary location).
|
||||||
path: /var/log/filebeat
|
#path: /var/log/filebeat
|
||||||
|
|
||||||
# The name of the files where the logs are written to.
|
# The name of the files where the logs are written to.
|
||||||
name: filebeat.log
|
name: filebeat.log
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ so-filebeat:
|
|||||||
- user: root
|
- user: root
|
||||||
- extra_hosts: {{ MASTER }}:{{ MASTERIP }}
|
- extra_hosts: {{ MASTER }}:{{ MASTERIP }}
|
||||||
- binds:
|
- binds:
|
||||||
- /opt/so/log/filebeat:/var/log/filebeat:rw
|
- /opt/so/log/filebeat:/usr/share/filebeat/logs: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:/nsm/bro:ro
|
- /nsm/bro:/nsm/bro:ro
|
||||||
- /opt/so/log/suricata:/suricata:ro
|
- /opt/so/log/suricata:/suricata:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user