-
What Grafana version and what operating system are you using?
10.0,3 -
What are you trying to achieve?
In the “Time Series” visualisation, change the Series names shown in the Legend to Alias and Tag combination. -
How are you trying to achieve it?
Data is stored in Influx 1.8, using InfluxQL , i want to rename the Series Names shown in the Legend and Tooltip. Ive attempted unsuccessfully to use the Rename by Regex transform, but i really dont understand the regex. -
What happened?
Nothing really… -
What did you expect to happen?
Magically the info shown will be correct and exactly what i want -
Can you copy/paste the configuration(s) that you are having problems with?
Here are screenshots:
The transforms i was playing with:
The current visualisation:
What i would like each series to look like:
Pooled - 3_PROD_Win10(obfuscated)
or Ded - 3_PROD_Win10(obfuscated)
this is basically just a combination of tags “Type” - “DG”
( i realise the values for my would actually be P or D - i can change the collection script to send Pooled and Ded instead… but if there is another rename/substition that would be cool too!)
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No. -
Did you follow any online instructions? If so, what is the URL?
Just a few google resuls eg: How to use "Rename by regex"