update to work with logstash-1.2.2
Merge pull request #3 from NGPVAN/master

update to work with logstash-1.2.2