Hi There ,
Iam trying to drop multiple events in logstash , how to implement it
As of now i use two different filters , but I want it in one filter
filter {
if "windows_ad" in [tags] {
if [event_id] == 5157 {
drop { }
}
}
}
I tried this it doesnt work
filter {
if "windows_ad" in [tags] {
if [event_id] == ["5157", "5158"] {
drop { }
}
}
}
Could any one help me to execute it