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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...