Getting started with the SimpleXML code

We are going to dive straight in and create another dashboard with one chart. We will create it using the Splunk web interface and then be able to view the underlying code that is created as SimpleXML:

  1. Let's start by accessing our NASA squid and web data app and click on the Dashboards menu.
  2. We want to create a new dashboard for this exercise, so we click on the Create New Dashboard button.
  3. Set the Title as SimpleXMLDashboard and click on the Create Dashboard button.

In this example, we want to search for all the requests that have been made to the NASA website for movies from educational domains, using the following as our search:

index=main sourcetype=NASASquidLogs | search movies | search edu | top 5 From ...

Get Learning Splunk Web Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.