Dirty fixes for logstash 1.2.1