Grafana 7.3, data source InfluxDB. Panel as table, query:
SELECT count("field") FROM "dataset" WHERE field=-1 AND $timeFilter GROUP BY "tagname" fill(null)
It works as expected. tagnames are host codes. I’d like to change few, most common to human readable names. Now table look like:
So I’d like map some of tagnames to more human friendly values, but only for few most common tagnames. For example:
- x-999-3 → building A
- e-111-4 → building B
Then table should look like
So, for defined set of tag names should replace it with given value, other should be left untouched. Is this possible to do in Grafana?