Static links to a dashboard

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

  • What are you trying to achieve? Create static links between dashboards that function across environments.

  • How are you trying to achieve it? Unknown

  • 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? n/a

  • Details:

I am creating a dashboard with a set of panels and I want a simple drill-down function that links to another dashboard on the same Grafana instance.
If I look at the URL of an example dashboard on our dev Grafana instance I see this:

Trying to do the same thing on our staging instance I see:

From what I could find online, this arbitrary string is some sort of UID.

My question is now how can I create a static link to another dashboard that remains static across instances (if we export / import our dashboards to promote them to staging and eventually prod, for example).

In other words, I want a link to a dashboard, independent of my personal user ID.


Yes, those are the unique IDs of the dashboards (not a personal user-dependent ID).

There are various ways to ensure those stay consistent between environments, and it kind of depends on your workflow. When you import a dashboard from JSON, for example, you are presented with the option to set its UID - so you can use that to ensure that the UID is exactly what you need it to be.

IIRC, if you export a dashboard as JSON, and then re-import it (e.g. into a different environment), its original UID should be retained.

This topic was automatically closed after 365 days. New replies are no longer allowed.