2020-05-13 08:08:11 -05:00
+++
2021-01-08 15:45:09 -06:00
title = "Share a panel"
2020-05-13 08:08:11 -05:00
keywords = ["grafana", "dashboard", "documentation", "sharing"]
2021-01-08 15:45:09 -06:00
aliases = ["/docs/grafana/latest/dashboards/share-dashboard/","/docs/grafana/latest/reference/share_panel/"]
2020-05-13 08:08:11 -05:00
weight = 6
+++
# Share a panel
2021-01-08 15:45:09 -06:00
You can share a panel as a direct link, as a snapshot or as an embedded link.
2020-10-30 14:52:36 -05:00
2021-01-08 15:45:09 -06:00
To share a panel:
2020-10-30 14:52:36 -05:00
2021-01-08 15:45:09 -06:00
1. Click a panel title to open the panel menu.
1. Click **Share** . The share dialog opens and shows the Link tab.
2020-10-30 14:52:36 -05:00
2021-01-11 18:40:21 -06:00
![Panel share direct link ](/img/docs/sharing/share-panel-direct-link-7-3.png )
2021-01-08 15:45:09 -06:00
## Use direct link
2020-10-30 14:52:36 -05:00
2021-01-08 15:45:09 -06:00
The Link tab has the current time range, template variables and theme selected by default. You can optionally enable a shortened URL to share.
2020-10-30 14:52:36 -05:00
2021-01-08 15:45:09 -06:00
To share a direct link:
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
1. Click **Copy** . This copies the default or the shortened URL to the clipboard.
1. Send the copied URL to a Grafana user with authorization to view the link.
1. You also optionally click **Direct link rendered image** to share an image of the panel.
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
For more information, refer to the topic [Image rendering ]({{< relref "../administration/image_rendering.md )" >}}).
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
Here is an example of a link to a server-side rendered PNG:
2020-05-13 08:08:11 -05:00
```bash
https://play.grafana.org/d/000000012/grafana-play-home?orgId=1& from=1568719680173& to=1568726880174& panelId=4& fullscreen
```
2021-01-11 13:39:27 -06:00
#### Query string parameters for server-side rendered images
2021-01-08 15:45:09 -06:00
- **width:** width in pixels. Default is 800.
- **height:** height in pixels. Default is 400.
- **tz:** timezone in the format `UTC%2BHH%3AMM` where HH and MM are offset in hours and minutes after UTC
- **timeout:** number of seconds. The timeout can be increased if the query for the panel needs more than the default 30 seconds.
- **scale:** numeric value to configure device scale factor. Default is 1. Use a higher value to produce more detailed images (higher DPI). Supported in Grafana v7.0+.
2021-01-11 13:39:27 -06:00
## Publish snapshot
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
A panel snapshot shares an interactive panel publicly. Grafana strips sensitive data leaving only the visible metric data and series names embedded into your dashboard. Panel snapshots can be accessed by anyone with the link.
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
You can publish snapshots to your local instance or to [snapshot.raintank.io ](http://snapshot.raintank.io ). The latter is a free service provided by [Raintank ](http://raintank.io ), that allows you to publish dashboard snapshots to an external Grafana instance. You can optionally set an expiration time if you want the snapshot to be removed after a certain time period.
2020-05-13 08:08:11 -05:00
2021-01-11 18:40:21 -06:00
![Panel share snapshot ](/img/docs/sharing/share-panel-snapshot-7-3.png )
2021-01-11 13:39:27 -06:00
2021-01-08 15:45:09 -06:00
To publish a snapshot:
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
1. In the Share Panel dialog, click **Snapshot** to open the tab.
1. Click on **Local Snapshot** or **Publish to snapshot.raintank.io** . This generates the link of the snapshot.
1. Copy the snapshot link, and share it either within your organization or publicly on the web.
2021-01-11 18:40:21 -06:00
2021-01-08 15:45:09 -06:00
If you created a snapshot by mistake, click **delete snapshot** to remove the snapshot from your Grafana instance.
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
## Embed panel
2020-05-13 08:08:11 -05:00
2021-01-08 15:45:09 -06:00
You can embed a panel using an iframe on another web site. Unless anonymous access permission is enabled, the viewer must be signed into Grafana to view the graph.
2021-01-11 18:40:21 -06:00
![Panel share embed ](/img/docs/sharing/share-panel-embedded-link-7-3.png )
2021-01-11 13:39:27 -06:00
2021-01-08 15:45:09 -06:00
Here is an example of the HTML code:
2020-05-13 08:08:11 -05:00
```html
< iframe src = "https://snapshot.raintank.io/dashboard-solo/snapshot/y7zwi2bZ7FcoTlB93WN7yWO4aMiz3pZb?from=1493369923321&to=1493377123321&panelId=4" width = "650" height = "300" frameborder = "0" > < / iframe >
```
2021-01-08 15:45:09 -06:00
The result is an interactive Grafana graph embedded in an iframe:
2020-05-13 08:08:11 -05:00
< iframe src = "https://snapshot.raintank.io/dashboard-solo/snapshot/y7zwi2bZ7FcoTlB93WN7yWO4aMiz3pZb?from=1493369923321&to=1493377123321&panelId=4" width = "650" height = "300" frameborder = "0" > < / iframe >