Add hash support to LogStash::Input::Base#to_event

Description

https://github.com/logstash/logstash/pull/251

The above takes a hash, convrts it to json string, then calls to_event on it because there is no way to call to_event with just a hash. Should be an easy fix

Also, the log4j plugin needs this feature as wel. It currently doesn't add any tags because it makes an event from a hash as well.

Environment

None

Status

Assignee

Logstash Developers

Reporter

Jordan Sissel

Labels

None

Fix versions

Priority

Configure