Filebeat adds escape character to message field. How to disable that?



I'm using filebeat 5.3.0 and reading logs and send to a Kafka cluster.

The original message is something like this:


Then in Kafka, the message appear as:


With every quotation marks added with the escape character.

Is there a way to prevent that from happening?

(ruflin) #2

It seems you are not using the json feature in filebeat. here can find more infos:



thanks for the help!

I've added json.keys_under_root: true inside the filebeat configuration and it resolves the situation I had trouble with!

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.