how to show key values filter by other key values
I am a beginner, there is a problem confused me, can you help me? many thanks!
influx -version
InfluxDB shell version: 1.2.2
for example:
> SHOW TAG VALUES FROM "system" WITH KEY = "group"
name: system
key value
--- -----
group app
group backend
group system
> SHOW TAG VALUES FROM "system" WITH KEY = "host"
name: system
key value
--- -----
host applog-1
host appmq_1
host appmq_2
host appmq_3
host backend_1
host backend_2
host backend_3
host backend_4
.......................
I want to list host where in my server group,maybe as below:

how to query ?
I am also looking for same....
@qi-zhou
SHOW TAG VALUES FROM "system" WITH KEY = "host" WHERE host =~ /^$servergroup*/
it should be work. include "all" option with '*' value.
I have try it, but it's still not work....and I folow by official doc try it as follows:
but the host can't associate with the tags.......
@qi-zhou assuming I understand your issue, SHOW TAG VALUES FROM "system" WITH KEY = "host" WHERE group =~ /$group/ in the Query field should do it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.