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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...