Hello,
trying to do a quick filter to replace a given heartbeat field value based on the value of other field but it seems when the field has a dot in the name t error.message
, the filter doesn't work:
works:
if [ip] == "10.10.11.25" {
mutate {
replace => [ "up", "true" ]
}
}
doesn't work:
if [error.message] == "401 Unauthorized" {
mutate {
replace => [ "up", "true" ]
}
}
Is there anything special about those types of fields or I am missing something here?
Thanks in advance,
--Boz