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!

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering. Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...