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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...