Splunk® Enterprise

Search Tutorial

Download manual as PDF

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Download topic as PDF

Create dashboards and dashboard panels

This topic walks you through saving a search as a dashboard panel and adding an input element to the dashboard.

Save a search as a dashboard panel

1. Run the following search:

sourcetype=access_* status=200 action=purchase | top categoryId

6.2tutorial dashboards1.png


2. Click the Visualization tab and select the Pie chart type.

6.2tutorial dashboards2.png


3. In the Search view, click Save as and select Dashboard Panel.

6.2tutorial dashboards3.png


The Save as Dashboard Panel dialog box opens.

4. Define a new dashboard and dashboard panel.

6.2tutorial dashboards4.png


4.1. For Dashboard, click New.

4.2. Enter the Dashboard Title, "Buttercup Games Purchases", The Dashboard ID updates with "Buttercup_games_purchases".

4.3. (Optional) Add a Dashboard Description, "Reports on Buttercup Games purchases data".

4.4. Type in the Panel Title, "Top Purchases by Category"

4.5. Leave the Panel Powered By as Inline search.

5. Click Save.

6.1 tutorial dashboards5.png


6. Click View Dashboard.

6.2tutorial dashboards5.png


This creates a dashboard with one report panel. To add more report panels, you can run new searches and save them to this dashboard, or you can add saved reports.

View and edit dashboard panels

1. Click Dashboards in the app navigation bar.

This takes you to the Dashboards listing page.

6.1 tutorial dashboardslist.png


You can Create a new dashboard and edit existing dashboards. You see the Buttercup Games Purchases dashboard that you created.


2. Under the i column, click the arrow next to Buttercup Games Purchases to see more information about the dashboard: What app context it is in, whether or not it is scheduled, and its permissions.

6.1 tutorial dashboardslistinfo.png


You can use the quick links that are inline with the information to edit the dashboard's Schedule and Permissions.

Add an input to the dashboard

1. In the Dashboards list, click Buttercup Games Purchases to return to that dashboard.

2. Click Edit and select Edit Panels.

The Edit: Buttercup Games Purchases view opens.


Dashboard panel search edit panel.png


In this view, you have edit buttons: Add Input, Add Panel, and Edit Source.

3. Click Add Input and select Time.


Dashboard panel search add time input.png


This adds a time range picker input to the dashboard editor.


Dashboard panel edit shared time range picker.png


4. Click the Edit Input icon for the time range picker. It looks like a pencil.

This opens a set of input controls. The Time input type should be preselected.


Dashboard panel search edit time input.png


5. Change the Token value to Buttercup_Games_Time_Range and click Apply.

This optional step redefines the name of the input token for the time range picker. Because the default names of input tokens are not very descriptive (field1, field2, field3, and so on), you may want to do this when you give your dashboard multiple inputs. It makes it easier to understand which input you are working with.

You can also optionally change the default time range for the picker by changing the value of Default. Right now it defaults to All time.

In the next two steps you connect your dashboard panel to this time range picker.

6. In the new dashboard panel, click the Inline Search icon and select Edit Search String.

Dashboard panel search edit search.png


The Edit Search dialog opens.


7. Click Time Range Scope and select Shared Time Picker (Buttercup_Games_Time_Range).


6.3.0 Tutorial dash editsearchtimeinput.png

8. Click Save.

The panel is now hooked up to the shared time range picker input. The inline search that powers the panel now uses the time range selected for the shared time range picker.

As you add panels to this dashboard, repeat steps 6 through 8 to hook the new panels up to the shared time range picker input.

You can have dashboards that offer a mix of panels that work with the shared time range picker and panels that show data for fixed time ranges.

9. Click Done to save your changes to the dashboard.


6.2tutorial dashboards9.png

Next steps

Continue to the next topic to add more reports to your dashboard.

PREVIOUS
About dashboards
  NEXT
Add more panels to the dashboard

This documentation applies to the following versions of Splunk® Enterprise: 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.2.14, 6.2.15


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters