Creating a Kibana dashboard involves building and arranging visualizations that display your Elasticsearch data in meaningful ways. This guide walks you through the complete process of creating a dashboard from scratch, from setting up data views to arranging panels and sharing your final dashboard.
Prerequisites
Before creating a dashboard, ensure you have:
- Kibana installed and running
- Access to Kibana with appropriate permissions
- Data indexed in Elasticsearch
- At least one data view (index pattern) configured
Step-by-Step Guide to Creating a Dashboard
Step 1: Create a Data View (Index Pattern)
- Navigate to Stack Management from the main menu
- Click on Data Views under Kibana section
- Click Create data view
- Enter a name for your data view
- Specify the index pattern (e.g.,
logs-*,metrics-*) - Select the timestamp field
- Click Save data view to Kibana
Step 2: Create Visualizations
Before building a dashboard, create the visualizations you want to include:
- Go to Visualize Library from the main menu
- Click Create visualization
- Choose a visualization type:
- Lens: Recommended for most use cases (drag-and-drop interface)
- TSVB: Time series visual builder
- Maps: Geographic data
- Custom visualizations: Legacy editors
Creating a Visualization with Lens
- Select Lens as your visualization type
- Choose your data view
- Drag fields from the field list to the workspace
- Configure the visualization:
- Select chart type (bar, line, pie, etc.)
- Add metrics (count, sum, average, etc.)
- Add breakdown dimensions
- Apply filters
- Click Save and give your visualization a name
Step 3: Create the Dashboard
- Navigate to Dashboard from the main menu
- Click Create dashboard
- You'll see an empty canvas ready for your visualizations
Step 4: Add Visualizations to Dashboard
There are two ways to add visualizations:
Option 1: Add Existing Visualizations
- Click Add from library button
- Select visualizations from your saved library
- Click on each visualization to add it to the dashboard
Option 2: Create New Visualizations
- Click Create visualization button
- Build a visualization using Lens or other tools
- Save it directly to the dashboard
Step 5: Arrange Dashboard Panels
- Resize panels: Drag the corners of each panel to resize
- Move panels: Click and drag panels to reposition them
- Delete panels: Click the gear icon and select Delete from dashboard
- Organize layout: Arrange panels logically for easy reading
Step 6: Add Filters and Controls
Add Dashboard-level Filters
- Click Add filter in the top menu
- Select the field to filter
- Choose the operator (is, is not, exists, etc.)
- Enter the filter value
- Click Save
Add Interactive Controls
- Click Add panel > Controls
- Select control type:
- Options list: Dropdown filter
- Range slider: Numeric range filter
- Time slider: Time range control
- Configure the control field and settings
- Click Save
Step 7: Configure Dashboard Settings
- Click the Settings icon (gear)
- Configure options:
- Time range: Set default time range
- Refresh interval: Auto-refresh frequency
- Use margins between panels: Toggle spacing
- Show panel titles: Display/hide titles
- Sync color palettes: Consistent colors across visualizations
Step 8: Save the Dashboard
- Click Save in the top menu
- Enter a dashboard name
- Optionally add a description
- Choose save options:
- Store time with dashboard: Save current time range
- Add to library: Make available in dashboard library
- Click Save
Advanced Dashboard Features
Adding Markdown Panels
- Click Add panel > Markdown
- Write content using Markdown syntax
- Use for documentation, instructions, or titles
- Click Save
Creating Drill-downs
- Select a visualization panel
- Click the gear icon > Create drill-down
- Configure the destination (URL or dashboard)
- Map fields to pass as parameters
- Save the drill-down
Applying Time Range Settings
- Use the time picker in the top-right corner
- Select quick ranges (Last 15 minutes, Last 24 hours, etc.)
- Set absolute or relative time ranges
- Click Refresh to apply
Best Practices
- Keep dashboards focused: Limit to 8-12 visualizations per dashboard
- Use descriptive names: Name visualizations and dashboards clearly
- Organize logically: Place related visualizations together
- Add context: Use Markdown panels for explanations
- Optimize queries: Use appropriate time ranges and filters
- Test performance: Monitor dashboard load times
- Use consistent colors: Maintain color schemes across visualizations
- Enable auto-refresh: Set appropriate refresh intervals for real-time data
Common Pitfalls to Avoid
- Creating too many panels on one dashboard (impacts performance)
- Using overly complex aggregations without time range limits
- Not saving visualizations to library (makes reuse difficult)
- Ignoring mobile responsiveness
- Failing to add filters for user interactivity
Troubleshooting
Dashboard Loads Slowly
- Reduce the number of visualizations
- Optimize queries and aggregations
- Limit the time range
- Increase Elasticsearch resources
Visualizations Show No Data
- Verify data exists in the selected time range
- Check index pattern configuration
- Ensure proper field mappings
- Review applied filters
Cannot Save Dashboard
- Check user permissions
- Verify Kibana storage settings
- Check for naming conflicts
Once your Kibana dashboards are up and running, keeping the underlying Elasticsearch cluster healthy is key to ensuring reliable dashboard performance. Pulse provides AI-powered monitoring for your Elasticsearch clusters, with automated health assessments, performance optimization recommendations, and proactive alerting—so you can build dashboards with confidence knowing your cluster is in good shape.
Frequently Asked Questions
Q: How many visualizations should I include in a dashboard?
A: For optimal performance and usability, limit dashboards to 8-12 visualizations. Create multiple focused dashboards rather than one overcrowded dashboard.
Q: Can I copy visualizations between dashboards?
A: Yes, save visualizations to the library and then add them to multiple dashboards using the "Add from library" option.
Q: How do I share my dashboard with others?
A: Use the Share button in the top menu to generate a shareable link, create a PDF/PNG snapshot, or embed the dashboard using an iframe.
Q: Can I set a default time range for my dashboard?
A: Yes, when saving the dashboard, check the "Store time with dashboard" option to save your current time range as the default.
Q: How do I make my dashboard auto-refresh?
A: Click the refresh icon in the top menu and select an auto-refresh interval (e.g., every 10 seconds, 1 minute, etc.).
Q: Can I revert changes to a dashboard?
A: If you haven't saved, click "Cancel" to discard changes. For saved changes, you may need to manually undo modifications or restore from a backup.
Q: How do I duplicate an existing dashboard?
A: Open the dashboard, click the Actions menu, and select "Clone" to create a copy that you can modify independently.
Q: Can I export my dashboard to share with another Kibana instance?
A: Yes, use Stack Management > Saved Objects to export dashboards and their dependencies, then import them into another Kibana instance.