Hi guys, I'm new to splunk and I really need ur help!
I have some images in my app and I put them in myapp\appserver\static\img. The problem is, if I edit the image after I put it into myapp/appserver/static/img, it will never be updated. However, it will be updated once its file names is changed!
Same thing happens to the js and css in myapp/appserver/static/components/forcedirected. If I want to edit my js and css, I have to create a new app and put the edited js and css in it to make them work. But the js and css in app/appserver/static works just fine, which is really wierd.
I think the problem is that Splunk only loads the files once and won't reload them again. So what should I do to make Splunk reload them again?
You can either restart Splunk, or navigate to http://yourhost:yourport/en-US/debug/refresh
to reload cached configuration items.
You will also find a link to that URL (EAI Object refresh) if you navigate to http://yourhost:yourport/en-US/info
, amongst other useful things.
You can either restart Splunk, or navigate to http://yourhost:yourport/en-US/debug/refresh
to reload cached configuration items.
You will also find a link to that URL (EAI Object refresh) if you navigate to http://yourhost:yourport/en-US/info
, amongst other useful things.
in addition:
http://yourhost:yourport/en-GB/_bump
$SPLUNK_HOME/bin/splunk restart splunkweb
this will not end the user session 😉cheers, MuS
It works!!!!! Thanks a lot.....
Restarting splunk, debug/refresh, clearing browser cache work on the js and css in app/appserver/statics only, not on those in myapp/appserver/static/components/forcedirected. But restarting splunkweb works at last! Thank you both!