Advertisement
thanh_thu

Untitled

Jul 26th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1.  
  2. filebeat:
  3. prospectors:
  4. -
  5. paths:
  6. - /usr/local/kong/logs/access.log
  7. - /usr/local/kong/logs/error.log
  8. - /usr/local/kong/logs/admin_access.log
  9. encoding: utf-8
  10. input_type: log
  11. fields:
  12. level: debug
  13. document_type: kong
  14. registry_file: /var/lib/filebeat/registry
  15. output:
  16. logstash:
  17. hosts: ["192.168.10.86:5044"]
  18. worker: 1
  19. bulk_max_size: 2048
  20. tls:
  21. certificate_authorities: ["/etc/pki/tls/certs/logstash-forwarder.crt"]
  22. shipper:
  23. name: ctl_kong
  24. tags: ["kong"]
  25. logging:
  26. to_syslog: false
  27. to_files: true
  28. files:
  29. path: /var/log/filebeat
  30. name: filebeat
  31. rotateeverybytes: 1048576000 # = 1GB
  32. keepfiles: 7
  33. selectors: ["*"]
  34. level: info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement