InfluxDB - Group by tagname::tag does not show up when tag is used in where clause

Hi,

I tried an InfluxDB query with a tag named address::tag in the where clause and then wanted to group by the same tag, however it does not show up in the drop down list of available tags to group by. I can trick it by choosing a different tag in the list and then type in the tag manually.

Grafana version: 9.5.2

How to test: Create an InfluxDB query with a tag in the where clause. The tag used in the where clause does not seem to show up as an available option to group by.

The idea was to slim down the result from the query by using a regex in the where clause to filter out only parts of the available values for the tag in question, and then group by them.

Any idea what could be the issue here?

1 Like