Hello ELK Community,
I have a pipeline that processes a certain type of log file, depending on where the log file was generated the fields may be different, this causes my dissect to fail.
With the following code block I can catch the failure, run a GROK and parse it successfully(or run a second dissect):
if ("_dissectfailure" in [tags]) {
grok {
match => {"message" => [ "..." ] }
remove_field => [ "tags" ]
}
}
The problem is my syslog logs an error message for every dissect failure, this causes disk space issues and the people. Is there a way to better handle this scenario? I think setting tag_on_failure to false still causes the ERROR to log.