Using variable in table panel

hi there,

I’m using Grafana v11.0.0 and using elastic as the data source
I’m facing a problem with table visualization here.

as you can see I already made a variable named Hostname. but when I select it to all, the hostname column won’t show up. then I tried to choose one of those hostnames and the column showed up

I wonder what is the cause of the hostname column won’t show up when I choose the value to all?

anyone can help me?

Thanks

check this out

i tried to define the variable as written in the documentation but it still doesn’t work

${Hostname:lucene}

do you know anything about this?

Thanks

i found the solution. i just need something to add in the query like
agent.hostname: $Hostname AND metricset.name: "filesystem"
The root cause is that there is 1 hostname with no data about the filesystem. so the table didn’t show the hostnames

1 Like