Advertisement
thanh_thu

filebeat_neutron

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