Security

What are the reasons to clear the search-head splunkweb cache ?

yannK
Splunk Employee
Splunk Employee

In the past, I solved browser javascript issues by clearing the web server cache on the search-head.

  1. go to the search-head in $SPLUNK_HOME/var/run/splunk/appserver
  2. clear the folder (can be done while splunk is running)
  3. go to the web interface, and refresh
  4. if needed, clear the browser cache too
  5. verify that the server cache has been repopulated on the search0head (sanity check)

It was because an upgrade change the javascripts, but the clients was still using the old one.
When can I tell that It's useful to do so ?

Tags (2)
1 Solution

jkat54
SplunkTrust
SplunkTrust

https://answers.splunk.com/answers/24407/application-js-not-loading.html

Try using the bump endpoint, and then pressing ctrl + f5 in your browser to pull all web resources from the server.

 http://<your host and port>/en-US/_bump

You'll want to do this anytime you modify items that can be cached... (pretty much everything on the page)... images, js, cookies, html, etc.

View solution in original post

jkat54
SplunkTrust
SplunkTrust

https://answers.splunk.com/answers/24407/application-js-not-loading.html

Try using the bump endpoint, and then pressing ctrl + f5 in your browser to pull all web resources from the server.

 http://<your host and port>/en-US/_bump

You'll want to do this anytime you modify items that can be cached... (pretty much everything on the page)... images, js, cookies, html, etc.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...