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: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

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