Add more panels to dashboards
Earlier in this tutorial you ran searches and saved them as reports. In this section, you add those saved reports to an existing dashboard. You will also add more panels based on ad hoc searches.
Add saved reports to a dashboard
Prerequisite
Ensure that you have the Buttercup Games - Purchases dashboard. This dashboard was created and edited in the previous section of this tutorial, Create dashboards and panels. You must create that dashboard before continuing with this section.
Steps
- To display a list of your dashboards, click Dashboards on the Apps bar and select the Buttercup Games - Purchases dashboard.
- In the Actions column, click Edit and select Edit Panels. The Edit Dashboard page opens.
- Click Add Panel.
The Add Panel sidebar menu opens on the right side of the window.
- To add a new panel from an existing report, click New from Report.
The list expands to show reports that you created and saved and built-in reports.
- Select Purchasing trends.
Next to the Add Panel sidebar, the Preview sidebar appears. The preview includes information about the report, the search that the report is based on, and preview of the report itself. This is the sparkline chart report that you created.
- Click Add to Dashboard. The new panel is placed at the bottom of the dashboard.
- From the Add Panel sidebar menu, select the report Comparison of Actions and Conversion Rates by Product and add it to the dashboard.
- Close the Add Panel sidebar.
- Rearrange the panels on the dashboard.
Drag and drop a panel by the panel drag and drop bar, which is at the top of the panel. When you drag a panel, a four pointed arrow symbol appears on the drag and drop bar.
- In the Edit Dashboards window, click Save to save your changes to the dashboard.
Your finished dashboard should look like the following image.
Adding a search to an existing dashboard
You can save an ad hoc search as a panel in an existing dashboard.
Prerequisite
This example requires theproductName
field from the Enabling field lookups section of this tutorial. You must complete all of those steps before continuing with this section. If you do not configure the field lookups, the searches in this section will not produce the correct results.
Let's use that lookup to run the following search.
- Click Search in the Apps bar to start a new search.
- Make sure that the time range is set to All time.
- Run the following search to determine the VIP client and the products that the client purchased.
The following image shows the results of the search.
sourcetype=access_* status=200 action=purchase [search sourcetype=access_* status=200 action=purchase | top limit=1 clientip | table clientip] | stats count AS "Total Purchased", dc(productId) AS "Total Products", values(productName) AS "Product Names" BY clientip | rename clientip AS "VIP Customer"
- Click Save As and choose Dashboard panel.
- For Dashboard, click Existing and select Buttercup Games - Purchases.
- For Panel title, type VIP Client Purchases.
- Click Save.
- Click View Dashboard.
- Click Edit.
- In the dashboard editor, drag the VIP Client Purchases panel next to the Top Purchases by Category pie chart.
- Click Save.
Your dashboard should look like the following image.
Connecting panels to a shared Time Range Picker
More dashboard actions
After you create a dashboard, use the buttons in the upper right corner to take actions on the dashboard, such as:
- Export the dashboard
- Edit the permissions to share the dashboard with other users
Next step
Congratulations! You have completed the Search Tutorial.
To learn more, see Additional Resources.