Documentation at
has this example and it mentions that it would allow only "msg" through.
filter {
prune {
whitelist_names => ["^msg$"]
}
}
If I have a single record that has
"source" => {
"bytes" => 172,
"ip" => "192.168.56.105",
"port" => 38996
},
.....
"server" => {
"bytes" => 2400,
"ip" => "192.168.56.102",
"port" => 9200
},
Notice how both have the "ip" field. How would I go about only sending source.ip through?