-
What Grafana version and what operating system are you using?
Grafana 8.5 -
What are you trying to achieve?
I want to access only one part of an array result sitting in a variable -
How are you trying to achieve it?
Fromt one variable query i get back a whole array of results. Like 20 different values. It chose the multiple value option.
I want to use the different results to make other queries, also in the variables. So i don’t want to choose one of the values in the board manually.
How can i access the different results? I tried stuff like “results.0” or “result.1” but that did not work.
Anybody an idea?
Is there a better way in general to do something like that? So basically i am trying to build up a functions that loops though all the results coming from a query. It’s all APIs. So the first one gives back e.g. a set of order numbers and i then want to check each order separately…i thoug the apprach written would work.
Of course i could use the text panel and program that with JS but that seems a bit over the top…any ideas?
Thanks a lot!