Shows invalid json on error


(The Viet Nguyen) #1

I am using Filebeat ELK integration.
When Filebeat failed to parse a json object, it leaves only an error of type json_error=Error decoding JSON: invalid character '{' after array element
How can I show the original object which Filebeat failed to parse?


(Steffen Siering) #2

The offending line is skipped right now. Feel free to add an enhancement request (or PR) to print the offending line in the filebeat logs: https://github.com/elastic/beats/issues


(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.