Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=================== Filebeat prospectors ======================
- filebeat.prospectors:
- - input_type: log
- document_type: postfix
- paths:
- - /var/log/mail.log
- - input_type: log
- document_type: zimbra_audit
- paths:
- - /opt/zimbra/log/audit.log
- - input_type: log
- document_type: zimbra_mailbox
- paths:
- - /opt/zimbra/log/zmmailboxd.out
- - input_type: log
- document_type: nginx
- paths:
- - /opt/zimbra/log/nginx.access.log
- #- input_type: log
- # document_type: zimbralog
- # paths:
- # - /var/log/zimbra.log
- # - /opt/zimbra/log/mailbox.log
- #——————— - Logstash output —————————
- output.logstash:
- hosts: ["server.domain.com:5055"]
- bulk_max_size: 2048
- template.name: "filebeat"
- template.path: "filebeat.template.json"
- template.overwrite: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement