Sharing Dashboards
Grafana provides multiple ways to share dashboards with your team, stakeholders, or the public. Choose the method that best fits your security and collaboration needs.Sharing Methods
Share Links
Direct URLs with customizable time ranges and themes
Snapshots
Point-in-time captures that can be shared externally
Export JSON
Download dashboard configuration for version control or migration
Embed
Embed panels in external websites using iframes
Public Dashboards
Share dashboards publicly without authentication
Permissions
Control access with user and team permissions
Share Links
Create direct links to dashboards or individual panels:1
Open Share Dialog
Click the Share icon in the dashboard toolbar (or panel menu for panels)
2
Select Link Tab
Choose the Link tab in the share modal
3
Configure Options
Set time range, theme, and URL shortening preferences
4
Copy Link
Click Copy to copy the URL to clipboard
Link Options
Lock Time Range
When Lock time range is enabled:- Relative time ranges (e.g.,
now-6h) are converted to absolute timestamps - Viewers see the exact time window you selected
- Dashboard auto-refresh is disabled
Theme Selection
Short URLs
Shorten long URLs for easier sharing:Short URLs are stored in Grafana’s database and require authentication to create. They redirect to the full URL when accessed.
Snapshots
Snapshots capture dashboard state at a specific moment:Creating Snapshots
1
Open Snapshot Dialog
Click Share → Snapshot tab
2
Configure Snapshot
Set snapshot name and expiration time
3
Publish Snapshot
Choose local or external sharing
4
Share URL
Copy the generated snapshot URL
Snapshot Configuration
Local vs External Snapshots
Local Snapshots:- Stored in your Grafana instance
- Require authentication to view
- Automatically expire based on configuration
- URL:
https://grafana.example.com/dashboard/snapshot/xyz
- Published to external snapshot service (e.g., snapshots.raintank.io)
- Publicly accessible without authentication
- Independent of your Grafana instance
- URL:
https://snapshots.raintank.io/dashboard/snapshot/xyz
Managing Snapshots
View and delete snapshots:Export Dashboard
Export dashboard JSON for backup or migration:1
Open Dashboard Settings
Click the gear icon → JSON Model
2
Copy or Download
Copy JSON or click Save to file to download
3
Optional: Clean Data
Remove sensitive data or specific panel IDs if needed
Export Formats
Dashboard JSON Structure
Cleaning Exported JSON
Remove instance-specific data:Embedding Dashboards
Embed panels in external websites:Panel Embed
Embed URL Parameters
Kiosk Mode
Hide Grafana UI elements:Embedded dashboards require viewers to have access to the dashboard. Configure authentication or use public dashboards for unauthenticated embedding.
Public Dashboards
Share dashboards publicly without authentication:1
Enable Public Dashboard
Go to Dashboard settings → Public dashboard
2
Configure Access
Set time range behavior and enable/disable annotations
3
Generate Link
Click Generate public URL to create shareable link
4
Share URL
Copy and share the public URL
Public Dashboard Configuration
Dashboard Permissions
Control who can view and edit dashboards:Setting Permissions
1
Open Permissions
Go to Dashboard settings → Permissions
2
Add Permission
Click Add permission and select user, team, or role
3
Set Level
Choose View, Edit, or Admin permission level
4
Save
Click Save to apply permissions
Permission Inheritance
Dashboards inherit permissions from their folder:API-Based Sharing
Programmatically share dashboards:Create Snapshot via API
Get Dashboard JSON via API
Share with Service Accounts
Use service accounts for automated sharing:Best Practices
Security
Review dashboard content before sharing externally. Remove sensitive queries, data, and credentials.
Expiration
Set appropriate expiration times for snapshots. Use shorter durations for sensitive data.
Permissions
Use team-based permissions rather than individual users for easier management.
Documentation
Add descriptions and comments to exported dashboards to provide context.
Security Considerations
- Data Privacy: Ensure no PII or sensitive data is visible
- Authentication: Use appropriate auth for external access
- Time Ranges: Lock time ranges to prevent unexpected data access
- Variables: Review variable defaults and allowed values
- Annotations: Disable annotations if they contain sensitive info
Versioning Exported Dashboards
Troubleshooting
Shared Link Not Working
- Verify dashboard permissions for the user
- Check if dashboard UID is correct
- Ensure time range parameters are valid
- Confirm variables have valid values
Snapshot Creation Fails
- Check timeout settings for slow queries
- Verify snapshot storage is configured
- Ensure panels render without errors
- Review query permissions
Embed Not Displaying
- Check CORS settings in Grafana config
- Verify iframe permissions
- Ensure dashboard is accessible
- Check browser console for errors
Public Dashboard Not Accessible
- Confirm public dashboards are enabled in config
- Verify the access token is correct
- Check that queries don’t require authentication
- Review data source permissions
Next Steps
Dashboard Overview
Learn about dashboard fundamentals
Variables
Share dashboards with variable parameters
Permissions
Configure advanced access controls
API Reference
Automate sharing with the Grafana API