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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...