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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...