Create a dashboard using an SPL2 search
Create visually polished and interactive dashboards by saving SPL2 searches as panels to be used in Dashboard Studio.
A dashboard is a user interface that is associated with an app and contains one or more panels. A panel can show search results in tables or in graphical visualizations. You can save a search as a dashboard panel, and then work with it in Dashboard Studio to design a visually polished and interactive dashboard for presenting your search results and data insights.
Dashboards are available on the Dashboards page in the Search & Reporting app.
For complete information about dashboards, see the following documentation:
Splunk Cloud Platform
See the Dashboard Studio manual in the Splunk Cloud Platform documentation.
Splunk Enterprise
See the Dashboard Studio manual in the Splunk Enterprise documentation.
The exact workflow for creating a dashboard panel from an SPL2 search varies depending on whether you are working with searches in the Search bar or the SPL2 module editor, and depending on whether you are creating a new dashboard or adding a panel to an existing dashboard. For detailed instructions, see the following sections on this page:
Save a search from the Search bar as a new dashboard
You can save a search from the Search bar as a new dashboard.
On the Search page of the Search & Reporting app, after running a search, you can use the Save As menu located above the Search bar to save your search as a new dashboard.
The Search & Reporting app returns a message confirming that your dashboard panel has been successfully created, and provides an option to open the dashboard for viewing.
To see a list of all your dashboards, navigate to the Dashboards page of the Search & Reporting app.
Save a search from the Search bar as a panel for an existing dashboard
You can save a search as a panel for an existing dashboard from the Search bar.
On the Search page of the Search & Reporting app, after running a search, you can use the Save As menu located above the Search bar to save your search as a panel to add to an existing dashboard.
The Search & Reporting app returns a message confirming that your dashboard panel has been successfully created, and provides an option to open the dashboard for viewing.
To see a list of all your dashboards, navigate to the Dashboards page of the Search & Reporting app.
Save a search from the SPL2 module editor as a new dashboard
You can save a search as a new dashboard from the SPL2 module editor.
The following instructions assume that you have already created an SPL2 module containing the search that you want to save as a dashboard panel. For detailed information on how to navigate to the SPL2 module editor and create a module, see SPL2 module editor overview and Create an SPL2 module.
In the SPL2 module editor, after writing a search, you can use the options in the Outline panel to export the search and then save it as a new dashboard.
- Open your SPL2 module for editing in the SPL2 module editor.
- In the Outline panel, select the Options icon (
) beside the name of the search that you want to save as a dashboard panel, and then select Export.
- Select Save to save your changes to the module.
- In the Outline panel, select the Options icon (
) beside the name of the search, and then select Use in new dashboard.
- Configure your dashboard using the options in the Save Panel to New Dashboard dialog box:
- Select Save to Dashboard.
The SPL2 module editor returns a message confirming that your dashboard panel has been successfully created, and provides an option to open the dashboard for viewing.
To see a list of all your dashboards, navigate to the Dashboards page of the Search & Reporting app.
Save a search from the SPL2 module editor as a panel for an existing dashboard
You can save a search as a panel for an existing dashboard from the SPL2 module editor.
The following instructions assume that you have already created an SPL2 module containing the search that you want to save as a dashboard panel. For detailed information on how to navigate to the SPL2 module editor and create a module, see SPL2 module editor overview and Create an SPL2 module.
In the SPL2 module editor, after writing a search, you can use the options in the Outline panel to export the search and then save it as a panel to add to an existing dashboard.
- Open your SPL2 module for editing in the SPL2 module editor.
- In the Outline panel, select the Options icon (
) beside the name of the search that you want to save as a dashboard panel, and then select Export.
- Select Save to save your changes to the module.
- In the Outline panel, select the Options icon (
) beside the name of the search, and then select Use in existing dashboard.
- Configure your dashboard panel using the options in the Save Panel to Existing Dashboard dialog box:
- From the Select an Existing Dashboard drop-down list, select the dashboard that you want to add the new panel to.
- (Optional) In the Panel Title field, enter a name for the dashboard panel.
- Select Save to Dashboard.
The SPL2 module editor returns a message confirming that your dashboard panel has been successfully created, and provides an option to open the dashboard for viewing.
To see a list of all your dashboards, navigate to the Dashboards page of the Search & Reporting app.
See also
For more information about working with dashboards:
Splunk Cloud Platform
See the Dashboard Studio manual in the Splunk Cloud Platform documentation.
Splunk Enterprise
See the Dashboard Studio manual in the Splunk Enterprise documentation.