I failed to find the full documentation on how to use conditionals inside filter block. Is this syntax valid:
filter {
if [tags] == "A" and [tags] == "B" {
grok {
....
}
}
or should I use if "A" in [tags]
. Logstash does not mind the first but does not produces the desired outcome either.
Thanks