Making filters OR or AND in a visualization


(Isaac Perez Moncho) #1

Hi,

it seems that in a visualization when you create more than one filter there is an OR working between them.
I've got three filters I want to apply and this seems to be the behavior:
filter1 OR filter2 OR filter3

I want to achieve the following:
filter1 AND (filter2 OR filter3)

What would be the best way to do this in Kibana 4.4?

Thanks,
Isaac


(Tanya Bragin) #2

The default predicate between filters is AND. You can do more complex logic in an editable filter: https://github.com/elastic/kibana/pull/5109#issuecomment-151600967


(Isaac Perez Moncho) #3

Thanks, will check and do it directly with the json editor :slightly_smiling:


(system) #4