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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...