So for example, if I have a BASIC stack trace like this:
Caused by: java.lang.IllegalArgumentException: field [@timestamp] doesn't exist
at org.elasticsearch.action.fieldstats.TransportFieldStatsTransportAction.shardOperation(TransportFieldStatsTransportAction.java:166)
and this config
input {
some_input {
some_settings
codec => multiline {
source => "message"
pattern => "^\s"
what => "previous"
}
}
}
filter {
mutate {
gsub => [ "message", "field", "SOMESTRING" ]
}
}
output {
some_output { }
}
I understand that, the word "field" in the FIRST line would be substituted out for SOMESTRING, but when the second line enters your logstash pipeline and hits the multiline codec, it would return a match, and then be added to the previous event. Would that data then make it through the rest of the logstash pipeline?? Wouldn't the first event have passed through the mutate filter?? Would the data be appended to the message field?? I'm just not clear on how this interaction works. Thank you!!