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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...