Dashboards & Visualizations

Splunk dashboard reading from old JS file

tcpcannon
Loves-to-Learn Lots

So I had a javascript file running on my dashboard and it was working fine. Recently I have uploaded an updated version of that javascript file.

It shows my updated version on some computers or some users maybe? But for some people they are still seeing the old javascript file being served. Any idea on how to make sure that all users get the new javascript file served to them when they load the dashboard?

I have tried clearing cache and restarting computer multiple times. I have also tried a /debug/refresh and _bump which obviously didnt solve my issue.

Labels (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

when you said that they have old JS in use, how that JS has implemented? Is it on separate package on your app or inline in your dashboard?

Have you also update your app.conf's version and build attributes?

r. Ismo

0 Karma

tcpcannon
Loves-to-Learn Lots

The JS is implemented through an external file, colorFormat.js. I have overwritten that file but for some of my users they are getting the old file ran instead of the new one. Which in my mind doesn't make sense because how would splunk still have that code, since I have overwritten it?

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Have you updated version and build numbers on app.conf and then do a _bump to load a new version? If I have understood right just _bump without updating version and build is not enough.
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

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