frntn / vagrant-elk-clientserver

A complete multi vms environnement : Client (logstash-forwarder) / Server (ELK stack) based on vagrant boxes built with packer for virtualbox provider
GNU General Public License v2.0
34 stars 5 forks source link

The collectd input plugin is deprecated #1

Open untergeek opened 10 years ago

untergeek commented 10 years ago

Because the udp input plugin is multithreaded now—and therefore much more performant—the collectd input plugin is deprecated, and will likely be removed from Logstash 1.5 in favor of using the collectd codec. See http://logstash.net/docs/1.4.2/codecs/collectd

I'd fork the project and do this myself, but I'm really busy today.

Where you have:

input {
  collectd {
    port => $collectdport
    type => "metrics"
    security_level => "Encrypt"
    authfile => "/etc/logstash/collectd.authfile"
  }
}

It should instead be something like:

input {
  udp {
    codec => collectd {
      port => $collectdport
      type => "metrics"
      security_level => "Encrypt"
      authfile => "/etc/logstash/collectd.authfile"
    }
  }
}
frntn commented 10 years ago

I'll take a look at the doc and update accordingly. Thanks for the report.