fluentd.conf 470 B

123456789101112131415161718192021222324252627282930313233
  1. ##
  2. ## fluentd.conf -- FluentD Configuration
  3. ##
  4. <system>
  5. rpc_endpoint 127.0.0.1:24444
  6. </system>
  7. <source>
  8. @type forward
  9. bind 127.0.0.1
  10. port 24224
  11. </source>
  12. <source>
  13. @type syslog
  14. bind 127.0.0.1
  15. port 5140
  16. protocol_type udp
  17. source_host_key source_host
  18. </source>
  19. <match **>
  20. @type file
  21. path @l_prefix@/var/fluentd/log/fluentd.log.d
  22. format json
  23. append true
  24. <buffer>
  25. flush_interval 10s
  26. </buffer>
  27. </match>