Link Search Menu Expand Document

Providing links into grafana templates

As a Grafana user it is not obvious how to share links of template based dashboards. Grafana does not change the request URI to reflect template variables you might enter (e.g. the server name).

Solution

There is a hidden feature: you can pass all template values via URL parameters in the following syntax
var-<parameter name>=<value>
Example link:
http://mygrafana.local/#/dashboard/db/mydashboard?var-server=web01