I am trying to configure the collectd codec. We have it shipping every 1 minute.
Interval 60
#Include "/etc/collectd.d/*.conf"
TypesDB "/usr/share/collectd/types.db"
#
Globals true
#
#
ModulePath
LogTraces true
Interactive false
Import "statistic"
#
LoadPlugin logfile
#LoadPlugin interface
LoadPlugin load
#LoadPlugin memory
#LoadPlugin cpu
LoadPlugin network
<Server "IP" "25826">
input {
udp {
port => 25826
buffer_size => 1000
codec => collectd { }
tags => ["collectd"]
}
}
output {
if "collectd" in [tags] {
elasticsearch {
hosts =>
manage_template => false
index => "logstash_collectd-%{+YYYY.MM.dd}"
}
}
stdout { codec => rubydebug }
}
It seems nothing ships until the collectd agent is restarted. Any idea what can be causing this? We are on LS 5.6.2