Using ELK Stack with Collectd

Collectd is a daemon that can be configured to collect metrics from various source plugins, such as Logstash. As compared to Logstash, Collectd is very lightweight and portable, but it does not generate graphs. It can write to RRD files, though, that need a RRDTool ( to read them and generate graphs to visualize the logged data. On the other hand, since Collectd is written in C programming language (, it is also possible to use it to collect metrics from embedded systems as well.

Collectd needs to be built from source. First, download the Collectd 5.8.0 version and extract the same:

# download Collectd 5.8.0 tar% wget ...

Get Microservices with Clojure now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.