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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

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