What Is the Correct Hierarchy of XML Elements in a Splunk Dashboard Panel?
Short answer
B <dashboard><row><panel>
Question
Key Takeaways
The exam tests whether you know that every panel must be inside a row, and every row inside the dashboard root element.
Learn the correct Splunk dashboard XML nesting order: dashboard > row > panel, with community consensus confirming option B as the right answer.
Common mistake: Choosing C (dashboard > panel > row) is common because test-takers forget that rows are required between dashboards and panels in Simple XML.
Expert Analysis
Why the Answer Is Correct
In Splunk Simple XML, <dashboard> is the root, then <row> defines a horizontal row, and <panel> contains visualizations. Thus B (<dashboard><row><panel>) is the only valid nesting. The official Simple XML Reference shows this structure for dashboard layouts.
Why the Other Options Are Wrong
A reverses the hierarchy with panel as root; D similarly starts with panel and moves up. C omits the row element, which violates the required dashboard > row > panel structure. Rows are mandatory grouping containers for panels in the classic dashboard layout.
Community Comment Notes
The top-voted comment simply points to the Splunk Simple XML Reference, reinforcing that the answer is verified by official documentation. Another comment agrees, and no alternative answer received any votes, indicating strong consensus on B.
Official Reference
https://docs.splunk.com/Documentation/Splunk/latest/Viz/SimpleXMLReference
This link opens the official vendor documentation in a new tab.
Exam Strategy
Memorize the parent-child chain dashboard > row > panel for Simple XML dashboards. On exam questions about XML hierarchy, look for the option that starts with dashboard and places row before panel; eliminate any option missing a row or starting with panel.
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
ykamalharsha 👍 2 Answered BSimple XML Reference - Splunk Documentation
-
emlch 👍 2<dashboard> <row> <panel>
-
SnakeTech 👍 2 Answered BGood answer
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SPLK-1004 Questions
Access 130 questions with complete answers and detailed explanations.
View Full SPLK-1004 Practice Test →