|
Hello. I am testing Splunk version 4.3, build 115073 and I have the next error when I want to go to search App 500 Internal Server Error Return to Splunk home page AttributeError: 'str' object has no attribute 'os_startIndex' This page was linked to from http://127.0.0.1:8000/en-US/app/launcher/home. You are using 127.0.0.1:8000, which is connected to splunkd @115073 at https://127.0.0.1:8089 on Tue Jan 10 13:13:23 2012. |
|
Here is a workaround for the issue:
We hope to have this fixed in an upcoming maintenance release. This is not possible, when you have switched (downgraded) the licence to the coummunity-version, because the Menu "Your Account" is only available in the enterprise version
(27 Feb '12, 06:15)
mietmesplunk
|
|
I have similar error, displayed as red warning at the top of the screen -'str' object has no attribute 'os_startIndex'- ver 4.3, build 115073, WinXP 32-bit |
|
Me too, WinXP 32-bit after test upgrade: 500 Internal Server Error Return to Splunk home page AttributeError: 'str' object has no attribute 'os_startIndex' This page was linked to from https://logsrv:8000/en-US/app/search/dashboard_live. |
|
Same Problem after upgrading from 4.2 to 4.3 on a Win2008 R2 machine when opening the search app. |
|
These are the entries in the web_service.log
Problem resides in entity.py and has to do with the used "uri" but I cant figure out how to enable debugging
(19 Jan '12, 04:19)
FRoth
|
|
Workaround: Rename savedsearches.conf in Splunketcappssearchlocal to savedsearches.conf.old and restart Splunk. Error Message still appears in the red top bar saying "'str' object has no attribute 'os_startIndex'" but you can access the search app at least. IMPORTANT: Every saved search containing a line to schedule the search causes the error. So it is recommended to remove the lines like "cron_schedule = 0 * * " and "enableSched = 1"
(19 Jan '12, 05:27)
FRoth
I also noticed that the SAVED SEARCHES did not show correctly in my dashboards. I used "stacked" columns but the graphs did not show up "stacked". I figured out that I had generate a viewstate for every saved search. I saved a new search and copied the veiwstate for that new and correct chart several times in the file viewstates.conf. An entry looks like this: [charting:gvto8fi9] ChartTypeFormatter_0_7_0.default = column ... StackModeFormatter_0_10_0.default = stacked ... The id after "charting:" is the reference to the actual saved search and had to be adjusted in every block.
(19 Jan '12, 05:48)
FRoth
|
|
I've got the same error "500 Internal Server Error .. AttributeError..." after installing the WindowsApp. At first, after accessing to the WindowsApp the error was shown. After reboot i can't acces to splunk (same errer) Renaming the "savedsearches.conf" brought no success. (Windows 7, 64bit, Splunk 4.3) Which "savedsearches.conf" did you rename (which directory)? Did you restart the service?
(27 Feb '12, 06:28)
FRoth
I've renamed the "savedsearches.conf" in "Splunk/etc/apps/search/local" (as you wrote above). And I've rebootet the system. But without success. Now i've done the following: renamed the folder of the app "windows" to "windows-1" After restart, i had access to the splunk webinterface and splunk seems working well. Of course, the app "windows" is not working. Do you have any idea, how to get the windows app working? thanks!
(28 Feb '12, 02:31)
mietmesplunk
|
What OS are you using?
He uses a Windows OS. Saved Searches with cron scheduler settings causes this error. See my workaround below.
Please see my answer below for a workaround.