Wildcard in logstash mutate filter
Posted: Sun Jun 17, 2018 5:53 pm
Hi Support,
We have more than 500 hundred network switches and we want to change the filed "type" to network.
I used following configuration but its not working.
if [host] == "10.100.250.*" { mutate { replace => { "type" => "Network" } } }
if [host] == "10.100.251.*" { mutate { replace => { "type" => "Network" } } }
Thanks,
We have more than 500 hundred network switches and we want to change the filed "type" to network.
I used following configuration but its not working.
if [host] == "10.100.250.*" { mutate { replace => { "type" => "Network" } } }
if [host] == "10.100.251.*" { mutate { replace => { "type" => "Network" } } }
Thanks,