Advertisement
thanh_thu

kong

Jul 21st, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. filebeat:
  2. prospectors:
  3. -
  4. paths:
  5. - /var/log/messages
  6. - /var/log/yum.log
  7. - /var/log/secure
  8. encoding: utf-8
  9. input_type: log
  10. document_type: syslog
  11. -
  12. paths:
  13. - /usr/local/kong/logs/access.log
  14. - /usr/local/kong/logs/error.log
  15. - /usr/local/kong/logs/admin_access.log
  16. encoding: utf-8
  17. input_type: log
  18. document_type: kong
  19. registry_file: /var/lib/filebeat/registry
  20. filebeat.config.modules:
  21. path: ${path.config}/modules.d/*.yml
  22. reload.enabled: false
  23.  
  24. setup.kibana:
  25. host: "192.168.10.86:5601"
  26. output:
  27. logstash:
  28. hosts: ["192.168.10.86:5044"]
  29. worker: 3
  30. bulk_max_size: 2048
  31. logging:
  32. to_syslog: false
  33. to_files: true
  34. files:
  35. path: /var/log/filebeat
  36. name: filebeat
  37. rotateeverybytes: 1048576000 # = 1GB
  38. keepfiles: 7
  39. selectors: ["*"]
  40. level: info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement