Closed vqng closed 9 years ago
Seems the JSON decoder actually succeeds and returns a float containing "1434701105.727". Because this is not a Hash
it causes an exception when Logstash tries to create a new event for it.
The decoder should probably check the result is a Hash
and raise a parse error if not.
We've seen this as well since upgrading to 1.5 where normally we were able to set the codec to JSON on the lumberjack input and it would fail back fine to plaintext , it's now crashing on certain inputs, haven't been able to grab which lines are causing the issue yet
@jlintz @driskell this should be fixed in the latest release of this plugin 1.1.0. Try upgrading and see if that helps you out :)
Please reopen this ticket if you have any further issues!
sample log that is not valid json
The json decoding process should fail but it doesn't. This issue was originally raised at https://github.com/elastic/logstash-forwarder/issues/293#issuecomment-115180966