Using variables in infinity

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    I am trying to build a time series panel that repeats by variable.
    I need to use the variable inthe queries and while this works great for SQL and even the URL of an infinity webservice call it does not seem to work for the Rows/Root Selection of infinty

  • How are you trying to achieve it?

    I tries to put the variable into the Rows/Root Selection but it does not seem to be used.

Is there any way I can parse the result of the webservice independant of what name the row has?

This is what the webservice returns:

And this filter works as expected but uses the fixed row name:

The returned JSON is identical for each variable so if I could just tell it to always use the first row it should be fine

OKay, nevermind, it is actually as easy as putting "result.* in the Rows/Root :see_no_evil:

1 Like