-
Book Overview & Buying
-
Table Of Contents
Learning Splunk Web Framework
By :
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:
Let's start by accessing our NASA squid and web data app and click on the Dashboards menu.
We want to create a new dashboard for this exercise, so we click on the Create New Dashboard button.
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
From within your new SimpleXMLDashboard:
Click on Edit and select Edit Panels.
Click on the Add Panel button and select New, and then choose Bar for a bar chart.
Set the details of the chart to the following values:
Content Title: Education Usage
Search...