Splunk | Example dashboard
Import and modify a ready made Splunk dashboard that will work in combination with the Quantum Splunk project.
Follow the below steps to import the two dashboards, which can be used with the Quantum Splunk project found here.
On this page:
Configure the XML files
-
Click Search & Reporting
-
Click Dashboards
-
Click Create New Dashboard button.
- Fill in title exactly as seen in the below screen shot "Perfecto Monitoring Example". The ID field will automatically populate and show match the below ID "perfecto_monitoring_example".The id field is what will be used to link from one dashboard to another so to ensure the example Dashboard works without modification you'll need to leave this in tact.
- Optionally fill in a description and choose the Shared in App button.
-
After clicking the Create Dashboard button, a blank dashboard will open. Click the Source button to open the Splunk XML editor.
-
Copy the XML source code from the Perfecto-Splunk-Home-Dashboard.xml file below
-
Replace the existing lines of code in the XML editor and replace it with the copied code from the XML file
-
On line 2, Change "Perfecto Monitoring Example" to "Your Company Name Monitoring Example" or use whatever name is fit.
-
Click Save
-
9. Repeat Steps 1-7 for the below XML file - ensuring the create new dashboard dialog looks like the screen shot - title "Perfecto Availability and Performance Example" and id "perfecto_availability_and_performance_example"
-
Click the splunk icon in top left corner of screen
-
Click the area the says "Choose a home dashboard"
-
Type "Perfecto Monitoring Example" in the search box and click Save
-
You should now see your Dashboard on the home screen
XML source overview
First Label Node | Sets the Title for the Dashboard |
Fieldset Nodes | Set dashboard filters - *To hide filters, add depends=”$hidden$” to the input node. |
TimePicker | Sets time filter |
Timespan | Sets time units for metrics For example: 10min, 30min, 1h, 2h, 4h, 1day |
Device | Sets filter for device model. Uses Primary.device field or the Secondary.device field |
Status | Sets filter for Pass or Fail. Uses Primary.testStatus, Secondary.testStatus, Primary.performanceStatus, or Secondary.performanceStatus. |
Platform | Sets filter for device platform. Uses Primary.os, Secondary.os |
Dashboard Rows |
|
Panel | A container for a visualization i.e. Table, Chart, map, etc |
Table |
|
Title |
Title for the visualization |
Search | Sets parameters for data to be viewed |
Query | The splunk search, including filter tokens |
Earliest | For setting beginning of time period via the TimePicker fieldset |
Latest | For setting end of time period via the TimePicker fieldset |
Option |
For setting various visual options for the visualization |
Format | Indicates a particular field for an option parameter. |
ColorPallette | A node with which the color of an element can be set based on data values |
Drilldown |
|
Link |
Sets the url for a drill-down link, internal or external to the Splunk system. |
For a link to a specific device in the Continuous Quality Lab use this xml on the “Link to Primary Device” field, changing 'company' to the name in the url. | https://'company'.perfectomobile.com/nexperience/main.jsp?applicationName=Interactive&id=$click.value2|n$ |