Exploring the dashboard source
So far, we have created our dashboard using visual tools. Now, let’s explore the simple XML for the dashboard that we created in the Adding inputs, tokens, and drilldowns section. To view the simple XML source, we must click on the Source tab. For simplicity, we have collapsed the XML by clicking on the arrows next to the line numbers so that only the main tags are visible, as shown in Figure 7.30:
Figure 7.30 – Collapsed XML for the Splunk dashboard
We can see that the source of the simple XML dashboard is enclosed in an outer pair of <
form>
tags:
<form>
The title and description that we assigned to the dashboard are enclosed within the <label>
and <description>
tags, respectively. Each of our three panels is enclosed in a pair of <row>
tags. Let’s look at the first panel with the filters. All the inputs (text boxes, dropdown, and time picker) are enclosed in the ...