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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...