Logstash config for ELK stack explained

On my previous blog post about installing ELK stack without sudo access[1] one of the commentator asked me about explaining the Logstash config in more detail. For ease of reference the Logstash config is reproduced below: input { redis { host => "127.0.0.1" type => "redis" data_type => "list" key…

Send stats to Graphite via Logstash

We have some stats being calculated and logged in our logs and we wanted to plot graphs via our already running Graphite service. There are two ways to approach this issue. You can directly send statistics via graphite library for your language of choice. For example: it is super simple…

Install Logstash shipper on RedHat 5.4+

Installing Logstash on older versions of RedHat can be a real pain. If you are struck with the familiar LoadError: Could not load FFI Provider: (NotImplementedError) FFI not available: null then follow on! First things first how to install Logstash on RedHat 5.4: sudo rpm -Uvh http://download.elasticsearch.…

Why ELK stack

Problem statement: You have different applications feeding into each other. Debugging an issue requires logging into each individual box to look at the logs. With small number of apps/boxes it's not an issue, but it quickly becomes tedious as the number of apps/boxes increase! Solution: It would be…