update to work with logstash-1.2.2