Guest User

Untitled

a guest
Mar 11th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. input {
  2.     udp {
  3.         port => 25826         # 25826 matches port specified in collectd.conf
  4.         buffer_size => 1452   # 1452 is the default buffer size for Collectd
  5.         codec => collectd { } # specific Collectd codec to invoke
  6.         type => "collectd"
  7.     }
  8. }
  9. output {
  10.     if [type] == "collectd" {
  11.         elasticsearch {
  12.             hosts => ["10.0.0.184:9200"]
  13.             index => "testing-collectd-%{+YYYY.MM.dd}"
  14.        }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment