Dashboards & Visualizations

How do I fix my JavaScript cache issue to have my Splunk dashboard use the new js file?

dvg06
Path Finder

Splunk dashboard is using js from
/en-US/static/@271043.15:1438207159/app/my-app-name/table_icons_inline_modified.js
but I wanted to use
/en-US/static/app/my-app-name/table_icons_inline_modified.js
since the former one seems to be an old copy of the file which is cached somewhere. I tried to clear browser cache and restarted Splunk, but no joy. Can someone help please?

1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

There is a little known url that can help you break the cache.

https://<yoursplunk>/en-US/_bump

Navigate here, and click the button. This will update the url to be:

/en-US/static/@271043.16/app/my-app-name/table_icons_inline_modified.js 

If the js doesn't change, then it is not changed in the filesystem. the @271043.16 refers to the Splunk Build, and then the bump number after that.

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

There is a little known url that can help you break the cache.

https://<yoursplunk>/en-US/_bump

Navigate here, and click the button. This will update the url to be:

/en-US/static/@271043.16/app/my-app-name/table_icons_inline_modified.js 

If the js doesn't change, then it is not changed in the filesystem. the @271043.16 refers to the Splunk Build, and then the bump number after that.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...