I keep getting this error "An error occurred while rendering the page template. See web_service.log for more details" appear when I try to click on a saved search in manager in Splunk Web. After I restart Splunk, I can access that saved search, but after I've made my change and saved it I keep getting the same error message until I've restarted Splunk again.
I can't create, edit or delete saved searches through the GUI.. which is really annoying!
Can anyone help me out?
Thanks.
@Drainy is correct.
This problem is caused by a regression in Splunk 5.0 and 5.0.1 which impacts certain methods to list indexes, such as:
/services/data/indexes
endpointIn 5.0 and 5.0.1, these methods fail to use cached assets and end up iterating over the files of your indexes themselves. This results in a much slower execution, which eventually affects whatever consumer calls the method.
In the Manager user interface, this affects some of the pages that need to present a list of indexes such as:
If the index-listing method takes more than 30s to complete, Splunkweb will time out on it and display a "500 - internal server error" message.
This issue will be fixed in maintenance release 5.0.2, which we are aiming to deliver early in 2013. We are also working on intermediary patch release 5.0.1.1 to specifically address this issue.
For reference, the bugs behind this problem are SPL-57518 and SPL-58650.
@Drainy is correct.
This problem is caused by a regression in Splunk 5.0 and 5.0.1 which impacts certain methods to list indexes, such as:
/services/data/indexes
endpointIn 5.0 and 5.0.1, these methods fail to use cached assets and end up iterating over the files of your indexes themselves. This results in a much slower execution, which eventually affects whatever consumer calls the method.
In the Manager user interface, this affects some of the pages that need to present a list of indexes such as:
If the index-listing method takes more than 30s to complete, Splunkweb will time out on it and display a "500 - internal server error" message.
This issue will be fixed in maintenance release 5.0.2, which we are aiming to deliver early in 2013. We are also working on intermediary patch release 5.0.1.1 to specifically address this issue.
For reference, the bugs behind this problem are SPL-57518 and SPL-58650.
@Loscil: Given that this error can be very generic, I would recommend that you open a support case and indicate under which circumstances exactly you witnessed this error:
It will also be useful to attach a diag of the instance where that happened right away.
Try backing up your apps (etc/apps) and data (var/lib/splunk) and re-install splunk?
I have just encountered this error in version 5.0.3, build 163460
Good point there @hexx. The issue was with 5.0.1, so Splunk's latest public release of 5.0.2 addressed the problem
Oddly enough, the issue went away on its own a few hours after it started to appear. Is it possible that this error occurs when a scheduled search is running and one tries to edit it?
@mike.lebrun: If you have a distributed search environment, please ensure that all instances (search-heads and indexers) have been upgraded to 5.0.2.
I spoke to Splunk support, who made some suggestions which didn't work..
We got around it by backing up our apps and settings, then a clean install of Splunk. Haven't had any issues on 5.02 so far...
Running 5.0.2 here and getting the same error "An error occurred while rendering the page template" when I click on either the saved search itself or try to Clone it.
Any suggestions?
This sounds a lot like bugs, (SPL-57518, SPL-58650)
http://docs.splunk.com/Documentation/Splunk/5.0.1/ReleaseNotes/Knownissues
Best bet is to get in touch with support