28 Jun 2024 09:19 AM
I have a variable definition working fine, that spits out possible values for a specific tag on my AWS SQS queues:
fetch `dt.entity.cloudsqs`
| 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
Solved! Go to Solution.
28 Jun 2024 10:57 AM
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
28 Jun 2024 11:03 AM
Not sure how I missed that, works well, cheers!