Hello,
I want to update the "tags" filed to a certain value when my "message" contains the string "Error: 18456" in it.
This is the [message] value that ends up in Kibana:
message 2019-12-26 15:07:09.53 Logon Error: 18456, Severity: 14, State: 8.
This is my filter in Logstash:
filter {
if "Error: 18456" in [message] {
mutate {
update => { "tags" => "Error - Login failed"}
}
}
}
I do not get any error when running this configuration, but the "tags" field does not get updated. Do you see a syntax or logic error in my code? Thank you!
Sincerely,
RS