[collectd] Logging to files instead of RRD
Marc Fournier
marc.fournier at camptocamp.com
Tue Dec 3 09:07:58 CET 2013
Hello,
Excerpts from Igor Kryltsov's message of 2013-11-30 18:52:24 +0100:
> Hi,
>
> I can not find anywhere a way to write data collected by collectd to
> files to be able to pickup them with logstash and send to
> elasticsearch.
>
> Did I miss it and it is possible? If not do you have such plans? It
> makes sense since log files and system stats can be shipped in this
> case to a central location with logstash/elasticsearch and logstash
> can output to graphite.
The first idea that comes to mind would be to use collectd'd "csv" plugin,
and logstash's "file" input plugin on these CSV files + some basic grok to
parse the lines.
But you might be more interested by this new plugin (not part of any
release yet) which implements collectd's network protocol in logstash:
https://github.com/logstash/logstash/blob/master/lib/logstash/inputs/collectd.rb
Hope this helps !
Marc
More information about the collectd
mailing list