I have a simple Custom
variable called route with e.g. this value:
/foo/bar,/foo/baz,/foo/baz/foo
I'm trying to map these values to some more understandable values, e.g. Custom
route_names:
bar,baz,foo
Searching on google resulted in people doing nested variables, but whatever I try in Grafana 5.3.4, I can't get it to work. If I do a Query
variable and use -- Grafana --
as source, I don't know what to put in the query field. route.*
didn't do anything, $route
neither.
What is the correct way of selecting a value from one variable and map it to the other? I.e. What is the query language being used when selecting -- Grafana --
as datasource?
As a side note, I have two datasources at the moment, my actual data source where I get my graph data from and -- Grafana --
.