So I wrote a filter to drop any event that has a certain field with a value of null:
filter {
if[type] == "flow" and [packet_source][ip] == "" {
drop { }
}
}
However, this does not work. Does anyone have any idea why? The names of the parameters are correct
Logstash version 5.2