I am using elastiflow to analysis netflow, now I am trying to add a new field, and fill the corresponding value when matching a specific IP. The filter conf is working like this, but the issue is I have thousands IPs to need to match, so is there a way to add new field in bulk ?
if [flow][dst_addr] == "10.153.227.225"{
mutate {
add_field => { "netflow.server_name" => "PAAS,redis cluster" }
}
}