Error Handling for "Ignoring Failure for this processor" in JSON parsing during conflicts in index template #126451
Labels
>bug
:Data Management/Ingest Node
Execution or management of Ingest Pipelines including GeoIP
Team:Data Management
Meta label for data/management team
Elasticsearch Version
8.15.5
Installed Plugins
No response
Java Version
bundled
OS Version
Elastic cloud
Problem Description
Currently I am piping Kubernetes container logs to ElasticCloud 8.15.X. I want to make use of JSON processor in Ingest Pipeline to decode the container logs. As container logs come in different shape and sizes, its very unlikely i can enforce everyone to pipe logs in the same way, which there are cases where there are random fields that are conflict in field type e.g.
logs from 2 different application may spit out the logs in different format, resulting it to drop the event.
I was hoping that when i turned on "ignore failure for this processor", it will just move ahead when there is index template, meaning not to drop the went, just don't attempt the json encoding, just keep it under
message
.I want to find out what would be a good way to handle this kind of problem?
Steps to Reproduce
message: "Cannot index event*"
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: