I grafana v8, I want to create a dashboard similar to loki log explorer but with only the labels I am interested in.
For this I need to be able to retreive all values for a given label and put them in a variable dropdown.
It boils down to :
how to initialize a variable with all loki’s values for a given label.
I tried to use the following queries but it doesn’t show anything, there are values of hostname in future, it only takes the values when I recently send the data.