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 (https://en.wikipedia.org/wiki/RRDtool) to read them and generate graphs to visualize the logged data. On the other hand, since Collectd is written in C programming language (https://en.wikipedia.org/wiki/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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.