You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
sample log that is not valid json
The json decoding process should fail but it doesn't.
This issue was originally raised at elastic/logstash-forwarder#293 (comment)
The text was updated successfully, but these errors were encountered: