use to_event to generate a Logstash::Event class