We can use dashboard variables with labels in the queries
For example:
{job="logs", Level=~"$Level"}
I am looking for a way to use a variable with a line filter like so:
{job="logs", Level=~"$Level"} |= `"User":"$User"`
My log is in json format (That’s why i’m doing a regex search with the " ")
I have found this forum: Using A Variable To Filter Loki Results but it has not helped me and I would need the “All” option to work.
Thank you!