Creating Dashboards
This guide walks you through creating a new dashboard in Grafana, from the initial setup to adding panels and configuring settings.Prerequisites
Before creating a dashboard, ensure you have:- Access to Grafana with appropriate permissions (
canEditandcanSave) - At least one configured data source
- Understanding of the data you want to visualize
Creating a New Dashboard
1
Access Dashboard Creation
Navigate to Dashboards → New Dashboard or click the + icon in the sidebar and select Dashboard
2
Add Your First Panel
Click Add visualization to create your first panel. You’ll be taken to the panel editor.
3
Select Data Source
Choose the data source you want to query from the dropdown menu at the top of the query editor
4
Build Your Query
Configure your query using the data source’s query editor. The interface varies by data source type.
5
Choose Visualization
Select a visualization type from the panel on the right (Time series, Bar chart, Table, etc.)
6
Configure Panel Options
Customize the panel title, description, and visualization-specific options
7
Save the Panel
Click Apply to add the panel to your dashboard
8
Save the Dashboard
Click the Save icon (disk) in the top navigation and provide a name and folder
Dashboard Configuration
Basic Settings
Configure essential dashboard properties:Time Settings
Set the default time range for your dashboard:Timezone Configuration
Control how times are displayed:- browser: Use the viewer’s local timezone (default)
- utc: Display times in UTC
- IANA timezone: Specify timezone like “America/New_York”, “Europe/London”
Organizing Panels
Grid Layout
Panels are positioned on a 24-column grid:Using Rows
Organize related panels into collapsible rows:1
Add a Row
Click Add → Row to create a new row panel
2
Configure the Row
Set the row title and optionally make it collapsible
3
Add Panels to Row
Drag panels into the row or create new ones below the row header
4
Collapse/Expand
Click the row title to collapse or expand all panels within
Adding Dashboard Links
Create navigation between dashboards:Dashboard JSON Model
Every dashboard is stored as JSON. Access via Dashboard settings → JSON Model:Importing Dashboards
From JSON
1
Navigate to Import
Go to Dashboards → Import
2
Paste JSON or Upload
Either paste JSON directly or upload a
.json file3
Configure Options
Set dashboard name, folder, and unique ID (UID)
4
Map Data Sources
If the JSON references data sources, map them to your configured sources
5
Import
Click Import to create the dashboard
From Grafana.com
Import community dashboards by ID:Best Practices
Naming Conventions
Use clear, descriptive names: “Production API Metrics” instead of “Dashboard 1”
Folder Organization
Group related dashboards in folders by team, environment, or application
Use Tags
Tag dashboards for easy filtering: “production”, “staging”, “database”, “api”
Default Time Range
Set appropriate default time ranges based on your monitoring needs
Dashboard UIDs: Each dashboard has a unique identifier (UID) used in URLs and links. When importing, you can assign a new UID to avoid conflicts.
Advanced Configuration
Cursor Sync
Synchronize crosshair and tooltips across panels:Live Updates
Keep dashboards up-to-date with streaming data:Panel Preloading
Load all panels immediately on dashboard load:Troubleshooting
Dashboard Not Saving
- Check you have
canSavepermission - Verify the folder you’re saving to allows writes
- Ensure dashboard JSON is valid
Panels Not Loading
- Verify data source is accessible
- Check query syntax and time range
- Review browser console for errors
- Confirm data source permissions
Performance Issues
- Reduce number of panels (aim for less than 30)
- Increase auto-refresh interval
- Optimize query time ranges
- Use query caching where appropriate
Next Steps
Configure Panels
Learn about different panel types and options
Add Variables
Make dashboards dynamic with variables
Use Templating
Create reusable, flexible dashboards
Share Dashboards
Share your dashboards with your team