I have created a XML dashboard and that works fine. I had splunk generate an HTML view of that dashboard so that I can add my own Javascript and CSS for a tree viewer. Now I'm working on the HTML that Splunk generated.
My question is "Where do i put the CSS and .js files on the filesystem and how do I reference the items in the HTML.
I have been using the path:
$SPLUNK_HOME/etc/apps/-appname-/appserver/static.
What path do I add to the in the HTML to get the CSS? I have been trying:
2. To get the javascript I tried adding entries to the "LIBRARY REQUIREMENTS" section in the HTML but I did not know what to use for the path in the require([]) arrays.
Same example HTML snippets would be great.
... View more