cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dashboard filter with multi-select: filtering on multiple possible tags

aled
Visitor

I have a variable definition working fine, that spits out possible values for a specific tag on my AWS SQS queues:

fetch `dt.entity.cloud:aws:sqs`
| fields tags
| expand tags
| filter contains(tags, "[AWS]environment")
| sort tags asc
| summarize environments = collectDistinct(tags)

and this variable is configured as multi-select

I now want to filter for any entity matching one of the selected tags, but I'm not sure how to go about that

I've tried using `| filter tags in` to no avail

2 REPLIES 2

GerardJ
Helper

Hi @aled 
That's what I use when I want to filter using multi-select variable, like this :

| filter in(tags, Array($variable))

 Hope this helps

Not sure how I missed that, works well, cheers!

Featured Posts