Splunk Enterprise Certified Admin — Question 20
Given a dashboard with a Simple XML extension in myApp, what is the XML reference for the file myJS.js located in myOtherApp in the location shown below?
$SPLUNK_HOME/etc/apps/myOtherApp/appserver/static/javascript/
Answer options
- A. <dashboard script=ג€myJs.jsג€>
- B. <dashboard script=ג€myOtherApp/myJS.jsג€>
- C. <dashboard script=ג€myOtherApp:javascript/myJS.jsג€>
- D. <dashboard script=ג€myOtherApp:appserver/static/javascript/myJS.jsג€>
Correct answer: A
Explanation
The correct answer is A because it directly references the script file name without needing the full path. Options B, C, and D include unnecessary paths or incorrect references that do not align with the format needed for Simple XML in Splunk dashboards.