Filebeat Module - Change log dir mapping

This commit is contained in:
Mike Reeves
2019-08-14 08:44:54 -04:00
parent 5ca2db8407
commit f1ae2617c2
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ logging.to_files: true
logging.files:
# Configure the path where the logs are written. The default is the logs directory
# 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.
name: filebeat.log

View File

@@ -69,7 +69,7 @@ so-filebeat:
- user: root
- extra_hosts: {{ MASTER }}:{{ MASTERIP }}
- 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
- /nsm/bro:/nsm/bro:ro
- /opt/so/log/suricata:/suricata:ro