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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...