use to_event to generate a Logstash::Event class
Merge pull request #358 from Fewbytes/LOGSTASH-904

Logstash 904