Hello & Welcome to
My experience with Java, Groovy, Grails, Python and more.

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…

Store current date time in Mongo in ISO format

I wanted to store current date time (in UTC time zone) in ISO format in Mongo with Groovy as the language. It is pretty straightforward with joda time library. First the code and then some explaination. import org.joda.time.DateTime import org.joda.time.format.DateTimeFormatter import org.joda.…

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.…