filebeat.logstash.yml
filebeat.registry.path: registry.logstash
processors:
- add_host_metadata:
netinfo.enabled: true
filebeat.inputs:
- type : log
enabled : true
exclude_files : ['.gz$']
fields_under_root : true
tags : ["zimbra"]
paths:
- /opt/zimbra/log/access_log.*
- /opt/zimbra/log/audit.log
- /opt/zimbra/log/mailbox.log
- /opt/zimbra/log/nginx.log
- /opt/zimbra/log/nginx.access.log
- /opt/zimbra/log/sync.log
- /var/log/zimbra.log
output.logstash:
hosts : elastic-zmb-pool
loadbalance : true