I'm indexing some application logs that contain json in the message body.
In the logstash config file, I extract the JSON and use the json plugin to convert the string in a object. All works fine, but some fields could have the same name but different datatypes (some are strings, other are json objects). In this case the logs are not indexed and the error is "mapper_parsing_exception".
Is there a way to ignore this error and index logs anyway?