filebeat.yml 448 B

123456789101112131415161718192021222324
  1. output:
  2. logstash:
  3. enabled: true
  4. hosts:
  5. - shipper:5044
  6. timeout: 15
  7. # ssl:
  8. # certificate_authorities:
  9. # - /etc/pki/tls/certs/logstash-beats.crt
  10. filebeat:
  11. prospectors:
  12. -
  13. paths:
  14. - "/var/log/nginx/*.log"
  15. document_type: nginx-access
  16. -
  17. paths:
  18. - "/var/log/random/*.log"
  19. document_type: random
  20. -
  21. paths:
  22. - "/var/log/apache/*.log"
  23. document_type: apache