Module 10 Lab Exercise - Creating Reports and Dashboards: Description
Module 10 Lab Exercise - Creating Reports and Dashboards: Description
Description
You will save a search as a report, create a report from the Fields sidebar, and examine it in the Statistics
and Visualization tabs. You will also build some dashboards to display these reports.
Steps
Task 1: Save a search as a report.
7. Click Reports in the app navigation bar. You can see the reports to which you have access. (You can
re-execute a report by clicking the title or view the search by clicking Open In Search.)
Task 2: Create a report using the Fields sidebar and view it on the Statistics and Visualization
tabs.
© 2018 Splunk Inc. All rights reserved. Splunk Fundamentals 1 May 25, 2018 24
13. Look at the search string. Notice the timechart command was added to the search automatically.
The command transformed the results into a data structure required for visualizations.
14. Click the Statistics tab to see another view of your results.
15. Click the Visualization tab to return to the line chart.
16. Select Save As > Report.
17. In the Save As Report dialog, for the Title, enter analyst_report_IncompleteSalesLast7Days.
18. Leave the other settings at their defaults values, and click Save to save the report.
19. Click View to display the report.
© 2018 Splunk Inc. All rights reserved. Splunk Fundamentals 1 May 25, 2018 25
OPTIONAL (Steps 20 – 27)
20. Go to the Search view of the Search & Reporting app. Use the > Search History link to expand
your search history and go back to the status>=400 AND status<=600 (action=purchase
OR action=addtocart) search.
21. Run the search over Last 24 hours.
22. In the fields sidebar, click status. (If status does not appear under Selected Fields, look under
Interesting Fields.)
23. Examine the status values. Is there a type of error that is significantly more common than others?
(The result will vary based on when you run your search. Example answer: 503.)
24. Click Top values by time.
25. If a line chart does not appear, then select it. (If you don’t remember how, review Step 12.)
26. Examine the chart for spikes you may want to explore in more depth. If you see a spike, click on it.
27. Splunk will return to the Events tab with your search zoomed in on - just the errors for the status and
the point in time you clicked on the chart. Now you can examine events for a spike at a specific time.
NOTE: While in edit mode, you can add panels or modify existing panels.
© 2018 Splunk Inc. All rights reserved. Splunk Fundamentals 1 May 25, 2018 26
35. In the Incomplete Sales – Last 7 Days panel, click the second of the four upper right corner icons
. Experiment with other visualization types by clicking their names. When you are finished
36. Click the +Add Panel button, and then click New from Report.
37. Under New from Report, click the report you created earlier,
analyst_report_FailedRootLoginsLast24Hours.
NOTE: You may have to hover your cursor over the report icons in the list in order to see the full names
of the reports.
38. Click Add to Dashboard and click X to close the Add Panel dialog.
39. In the Panel Title field for the new panel (where it currently reads “No title” in grey), enter a name for
the new panel: Failed Logins for Root – Last 24 Hours.
40. Remove the prefilled subtitle for the panel (analyst_report_FailedRootLoginsLast24Hours) by
clicking in the Panel Subtitle field and deleting the text.
41. When done, click anywhere outside the title box. Your title boxes should no longer be editable.
42. Click the dotted bar at the top of the Failed Logins for Root panel and drag to position it to the right
of the top panel. The panels should display side-by-side.
43. Click Save.
© 2018 Splunk Inc. All rights reserved. Splunk Fundamentals 1 May 25, 2018 27
OPTIONAL (Steps 44 – 52)
44. On the app navigation bar, click Dashboards.
45. For the Ops Dashboard, in the Actions column, click Edit > Edit Panels.
46. On the Incomplete Sales – Last 7 Days panel, explore the options under the paintbrush icon, .
For example, try substituting a Custom Title for the X-Axis.
47. Enable the drilldown feature on the Incomplete Sales – Last 7 Days panel by clicking the three
vertical dots in the upper right corner of the panel, clicking Edit Drilldown, and changing the On
Click option to Link to search.
48. Click Apply to apply the change, then click Save to save the dashboard.
49. Click on the panel for which you enabled the drilldown feature to test whether it drills down to the
underlying search.
50. Return to the dashboard by clicking the back button on your browser.
51. Click the Edit button and try modifying some of the other settings on your panels. For example, try
rotating the axis labels or exploring the legend display options.
52. When done, return to the Search view.
© 2018 Splunk Inc. All rights reserved. Splunk Fundamentals 1 May 25, 2018 28