Using Grafana 11.6.2 and I’m trying to get a chained/nested variable as map<string,list> (e.g. logindex1: [filter1, filter2], logindex2: [filter3]). So that I can have a row repeated by logindex (so far working fine), with one panel per filter. I tried different variants of chained variables, but so far no success. The closest I got was
- custom variable per logindex
$FiltersForLogindex1with valuefilter1, filter2,$FiltersForLogindex2with valuefilter3 - custom variable
$LogSourceswith valuelogindex1: $FiltersForLogindex1 , logindex2 : $FiltersForLogindex2 - create a row and repeat for
$LogSources→ works fine, I can see logindex1 and logindex2 by acessing${LogSources:text} - inside the row I created a text panel to see the value of
${LogSources:value}
Here I would have expected to see a list filter1, filter2 or filter3 (depending on the current row). But instead I see {filter1 for logindex1. Also in the preview for $LogSources I can see that it showslogindex1, filter2}, logindex2.
I’m not bound to this approach, but I’d like to configure the filters per logindex as a variable, not hardcoded. Any advice?




