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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...