Display panels of the same dashboard according to variables

  • What Grafana version and what operating system are you using?

Grafana v9.4.7 and Debian GNU/Linux 9 (stretch)

  • What are you trying to achieve?

I have a dashboard with multiple panels, I would like to be able to show X panels according to the variables that I have defined at the top of the dashboard

  • How are you trying to achieve it?

I still don’t know how, with an “if” I had thought

  • What happened?

  • What did you expect to happen?

I want to be able to independently control a panel within a common dashboard for many hosts. For example, show that panel only if the host=X

image

For example with this host, I would like to show these mini-panels but with this host I would like to display just one of them:

image

Is it possible?

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

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

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

Thank you!!