Knowledge Management

Where do custom javascript files need to be copied for a dashboard to reference?

manus
Communicator

In Splunk Dashboard examples app, there are some dashboards which reference javascript files.
Where do the javascript files need to be copied for the dashboard to find them?

1 Solution

manus
Communicator

The javascript file needs to be copied in the same app folder as the dashboard using it:

$SPLUNK_HOME/etc/apps/<appname>/appserver/static/  

Splunk needs to be restarted after the javascript file has been copied

View solution in original post

manus
Communicator

The javascript file needs to be copied in the same app folder as the dashboard using it:

$SPLUNK_HOME/etc/apps/<appname>/appserver/static/  

Splunk needs to be restarted after the javascript file has been copied

stanwin
Contributor

For further clarification, A restart of Splunkweb only is needed.

splunk restart splunkweb

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