I would like to create a variable that contains the values of a specific tag for the hosts. I’m trying to create the query to get these values.
Basically if the tag is called Business Application and the values are X, Y, Z I would like to get X, Y and Z.I tried with this but it gives me all the tags for the different hosts:
fetch dt.entity.host
| summarize count = count(), by:{tags}
| sort count desc
| fields tags
I guess you would need to parse the individual tags and separate them if they are key:value.
How could I create this query?