Dashboards & Visualizations

Splunk Dashboards not reading custom javascript files

anilgurijala
New Member

Hi All,
I am having a weird issue. I have few custom javascript files used in some of my forms/dashboards. I put these files in $SPLUNK_HOME/etc/apps/search/appserver/static/ directory. Everything is works fine in my dev environment. However, my production dashboards are not accessing these files, although I placed them in the same location. I would like to know whether there is any configuration parameter that is not allowing them to access those files.

Thanks,
Anil

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

On the first install of a new JS file into static, and inclusion on a dashboard/form via script tag, a FULL RESTART is REQUIRED. A _bump or debug/refresh only works on already loaded JS/CSS/web elements, but none that have not yet been loaded in to the Splunk web cache. You may be able to get away with a splunk restart splunkweb but not 100% on that.

anilgurijala
New Member

Thank you for your response. But, it is still not working. Just to provide you more details, it worked before, but stopped working later.

0 Karma

woodcock
Esteemed Legend

Thank you for the clarification.

0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...