hello internet!
can someone point out why the below filter which look for an IP is not working
if [answers] =~ "127\.0\.0\.1" {
mutate {
add_tag => [ "non-routable" ]
}
}
if [answers] {
mutate {
add_tag => [ "active" ]
}
}
the field in the elasticsearch document for reference;
"answers": [
"127.0.0.1"
],
if also tried using == "127.0.0.1" which also doesnt seem to match