I am using loki as datasource and I am getting logs in json format.
Currently we are using static labels in variable, I want to use json parsed labels in variable. Is there a way?
Also I am not getting all keys from json as label. Is there a way I can get all key as labels and on the basis of levels fetched from logs I create variable so variables can be dynamic.
No, you can’t have variable from any parser.
1 Like