Dashboards & Visualizations

Correct directory for jQuery file for dashboards?

ManchitMalik
Explorer

I want to use JQuery in Splunk Dashboards.In which directory I need to keep the JQuery files and what changes need to be done in dashboard XML? Please explain with an example. Thanks

0 Karma
1 Solution

MuS
Legend

Hi ManchitMalik,

you can find an example on the dev page here http://dev.splunk.com/view/SP-CAAAEVY
Your js will be located in $SPLUNK_HOME/etc/apps/<yourAppNameHere>/appserver/static/
Additionally install the dashboard example app https://splunkbase.splunk.com/app/1603/ and have a look at the examples which are tagged with EXTENSION to learn more about this topic.

Hope this helps ...

cheers, MuS

View solution in original post

MuS
Legend

Hi ManchitMalik,

you can find an example on the dev page here http://dev.splunk.com/view/SP-CAAAEVY
Your js will be located in $SPLUNK_HOME/etc/apps/<yourAppNameHere>/appserver/static/
Additionally install the dashboard example app https://splunkbase.splunk.com/app/1603/ and have a look at the examples which are tagged with EXTENSION to learn more about this topic.

Hope this helps ...

cheers, MuS

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...