Dashboard Variable with Multiple Filters

Let’s define filter this way:

and create DQL query so combines conditionally all filters:

fetch logs
| filter 
($Traffic=="Test" and contains(request,"-test") ) or
($Traffic=="Bot" and contains(content,"bot") ) or
($Traffic=="Real" and not contains(content,"bot") and not contains(request,"-test"))
| fields content
| limit 10

Depending on variable value only one condition will be active. Other 2 are are false, but they do not do any harm as are always false.

Kris