example_forward.conf 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. [Forward systemd]
  2. ## Example: Log collector that will collect streamed Systemd logs
  3. ## only for parsing, according to global "forward in" configuration
  4. ## found in logsmanagement.d.conf .
  5. ## Required settings
  6. enabled = no
  7. log type = flb_systemd
  8. ## Optional settings, common to all log source.
  9. ## Uncomment to override global equivalents in netdata.conf.
  10. # update every = 1
  11. # update timeout = 10
  12. # use log timestamp = auto
  13. # circular buffer max size MiB = 64
  14. # circular buffer drop logs if full = no
  15. # compression acceleration = 1
  16. # db mode = none
  17. # circular buffer flush to db = 6
  18. # disk space limit MiB = 500
  19. ## Streaming input settings.
  20. log source = forward
  21. stream guid = 6ce266f5-2704-444d-a301-2423b9d30735
  22. ## Charts to enable
  23. # collected logs total chart enable = no
  24. # collected logs rate chart enable = yes
  25. priority value chart = yes
  26. severity chart = yes
  27. facility chart = yes
  28. [Forward Docker Events]
  29. ## Example: Log collector that will collect streamed Docker Events logs
  30. ## only for parsing, according to global "forward in" configuration
  31. ## found in logsmanagement.d.conf .
  32. ## Required settings
  33. enabled = no
  34. log type = flb_docker_events
  35. ## Optional settings, common to all log source.
  36. ## Uncomment to override global equivalents in netdata.conf.
  37. # update every = 1
  38. # update timeout = 10
  39. # use log timestamp = auto
  40. # circular buffer max size MiB = 64
  41. # circular buffer drop logs if full = no
  42. # compression acceleration = 1
  43. # db mode = none
  44. # circular buffer flush to db = 6
  45. # disk space limit MiB = 500
  46. ## Submit structured log entries to the system journal
  47. # submit logs to system journal = no
  48. ## Streaming input settings.
  49. log source = forward
  50. stream guid = 6ce266f5-2704-444d-a301-2423b9d30736
  51. ## Charts to enable
  52. # collected logs total chart enable = no
  53. # collected logs rate chart enable = yes
  54. event type chart = yes
  55. [Forward collection]
  56. ## Example: Log collector that will collect streamed logs of any type
  57. ## according to global "forward in" configuration found in
  58. ## logsmanagement.d.conf and will also save them in the logs database.
  59. ## Required settings
  60. enabled = no
  61. log type = flb_tail
  62. ## Optional settings, common to all log source.
  63. ## Uncomment to override global equivalents in netdata.conf.
  64. # update every = 1
  65. # update timeout = 10
  66. # use log timestamp = auto
  67. # circular buffer max size MiB = 64
  68. # circular buffer drop logs if full = no
  69. # compression acceleration = 1
  70. db mode = full
  71. # circular buffer flush to db = 6
  72. # disk space limit MiB = 500
  73. ## Submit structured log entries to the system journal
  74. # submit logs to system journal = no
  75. ## Streaming input settings.
  76. log source = forward
  77. stream guid = 6ce266f5-2704-444d-a301-2423b9d30737
  78. ## Charts to enable
  79. # collected logs total chart enable = no
  80. # collected logs rate chart enable = yes