Is it possible to devise dashboard variables from log data?

What Grafana version and what operating system are you using?

Grafana Cloud v9.2

What are you trying to achieve?

Add dashboard variables based on the data being displayed.

I have a dashboard displaying logs from our server. These logs include the domain name used when accessing the server, so we can see which tenant of the system is seeing any errors. It also displays the all the log lines

The graph of errors displays error count, per tenant, but is it possible to add dashboard variables based on the currently displayed log errors, so that we can drill down to display only errors for a given tenant, without knowing the list of tenants ahead of time?

How are you trying to achieve it?

Somehow query for the variable values within the log data

What happened?

n/a

What did you expect to happen?

n/a

Can you copy/paste the configuration(s) that you are having problems with?

n/a

Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

n/a

Did you follow any online instructions? If so, what is the URL?

I couldn’t find any documentation on this topic specifically.