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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...