Edit dashboards
Use the dashboard editor to customize dashboard panels, layout, or add interactivity.
This topic assumes that you are building dashboards in the classic Splunk dashboards framework. If you are working in the Splunk Dashboard Studio, see Build, edit, and convert existing and new dashboards in the Splunk Dashboard Studio in the Splunk Dashboard Studio manual.
Open the dashboard editor
- From the Dashboards listing page, open the dashboard that you want to convert.
- Click Edit to open the dashboard editor.
- Select UI or Source to change the editing mode.
- (Optional) Preview dashboard edits as you make them and click Save to save changes. Click Cancel at any point to discard changes.
Change dashboard panel layout
You can change dashboard layout to prioritize specific panels or make room for additional content.
- From the Dashboards listing page, open the dashboard that you want to convert.
- Click Edit to open the dashboard editor.
- Drag and drop panels to reposition them.
Change the dashboard theme
You can change the dashboard theme to dark or light. The default theme is light.
- Click Edit from your dashboard to open the dashboard editor.
- Use the Dark Theme switch to change the theme of the dashboard.
- Save the dashboard and refresh your browser to view the change.
A dashboard saved with dark theme applied will be converted back to light theme when you export to PDF. Dark theme is not supported for this operation.
Edit a panel search
Update the search driving a particular dashboard panel.
When you are working with inline searches, the dashboard search bar has syntax highlighting and auto-complete features that can help you build a search string. To learn more, see Help reading searches in the Search Manual.
Search editing options
All search types | Reports | Inline searches and inline pivots |
---|---|---|
|
|
|
Steps
- From the Dashboards listing page, open the dashboard that you want to edit.
- Click Edit to open the dashboard editor.
At the top right of each panel, editing icons appear. The first editing icon represents the search for the panel. The search icon varies to represent the type of search being used. - Select the search icon to view configuration options for the search.
- Select the search configuration that you want to change. Depending on the option you select, additional configuration dialogs or windows might open.
- After editing the search, click Save to save changes to the dashboard.
Edit a panel visualization
Use the dashboard editor to edit a panel visualization for panels that are not generated with pivot or pivot report searches.
If you are working with visualizations generated from pivot or pivot report searches, you can use the Pivot Editor. See Design pivot charts and visualizations with the Pivot Editor for details.
Prerequisites
- Review Data structure requirements for visualizations for details on generating search results in the correct format for a visualization.
- See Properties available from the Visualization Editor to review visualization configurations.
Steps
- From the Dashboards listing page, open the dashboard that you want to edit.
- Click Edit to open the editing dashboard.
At the top right of each panel, editing icons appear. The second icon represents the Visualization Picker. The icon varies to represent the visualization type. The third editing icon represents the visualization Format menu. - (Optional) Use the Visualization Picker to select a different visualization. Make sure that the panel search generates results in the correct format for the new visualization. You can select any visualization, but the panel search results might not render if they are not formatted for the selected visualization.
- (Optional) Use the Format menu to configure the visualization.
- Click Save to save changes to the dashboard.
Edit dashboard source code
Edit dashboard Simple XML source code to customize settings that are not accessible from the user interface. The dashboard source code editor provides interactive validation as you make updates.
Prerequisites
- For information about editing Simple XML source code, see About editing Simple XML.
Steps
- From the Dashboards listing page, open the dashboard that you want to edit.
- Select Edit to open the dashboard editor.
- Click Source to open the dashboard XML source code editor.
- Edit the source code.
- (Optional) Observe that the editor provides automatic tag closing and validation. The editor displays validation warning or error messages as needed. Hover over a warning or error icon next to a line of source code to view the message for that line.
- (Optional) Validation warnings and errors disable the Save button. If the button is disabled, correct any code with validation warnings or errors.
- If there are no warnings or errors, the Save button is enabled. Click Save to save the source code edits.
Edit a prebuilt panel
Prebuilt panels cannot be edited in the dashboard editor. Use the Prebuilt Panels page to access a panel source code editor.
Steps
- From the home page, navigate to Settings > User Interface > Prebuilt Panels.
- Locate the panel that you want to edit and select Edit.
- Edit the Simple XML source code.
- Click Save. The panel is updated in dashboards that include it by reference.
Additional resources
- To learn about creating or editing visualizations in a dashboard, see Edit Visualizations.
- For details on converting a dashboard to a form and working with forms, see Create and edit forms.
Add panels to dashboards | Edit visualizations |
This documentation applies to the following versions of Splunk® Enterprise: 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.2.9, 8.2.10, 8.2.11, 8.2.12
Feedback submitted, thanks!