Show data for all fields that match a query?

I am inserting measurements into InfluxDB from each of my cable modem’s ~30 channels. Each channel is tagged with the channel number and has fields like “power” and “snr”. When I try to graph this data with Grafana, I can only graph the average of all these fields across channels:

But I’d like to show individual lines for every channel on my graph. Is there a way to do this without creating a separate query for each of the 30+ channels? When I used Graphite in the past, I could accomplish something like this by graphing cablemodem.downstream.channel*.power (with a wildcard).

1 Like

Add GROUP BY tag(channel) and add $tag_channel to the ALIAS. You can also select snr in one query - then use $col in the ALIAS. See Help in the editor.

1 Like