Advertisement
Guest User

Untitled

a guest
Nov 29th, 2018
686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.82 KB | None | 0 0
  1. #=================== Filebeat prospectors ======================
  2. filebeat.prospectors:
  3. - input_type: log
  4.   document_type: postfix
  5.   paths:
  6.    - /var/log/mail.log
  7. - input_type: log
  8.   document_type: zimbra_audit
  9.   paths:
  10.    - /opt/zimbra/log/audit.log
  11. - input_type: log
  12.   document_type: zimbra_mailbox
  13.   paths:
  14.    - /opt/zimbra/log/zmmailboxd.out
  15. - input_type: log
  16.   document_type: nginx
  17.   paths:
  18.    - /opt/zimbra/log/nginx.access.log
  19. #- input_type: log
  20. #  document_type: zimbralog
  21. #  paths:
  22. #    - /var/log/zimbra.log
  23. #    - /opt/zimbra/log/mailbox.log
  24. #———————    - Logstash output —————————
  25. output.logstash:
  26.   hosts: ["server.domain.com:5055"]
  27.  
  28.   bulk_max_size: 2048
  29.   template.name: "filebeat"
  30.   template.path: "filebeat.template.json"
  31.   template.overwrite: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement