Logstash wrapping the data with document

It is a bug, the http input per default will expect the massages as json, so if your message is a json it will basically ignore anything you put in the codec option.

Check this answer about it.

1 Like