Knowledge Management

Unable to get sample events: local variable 'f' referenced before assignment

splunkatl
Path Finder

I am getting this error when I clicked on "Built EvenType" in the search results.
Does anyone got this error? what need to fix to get rid of this message.Thanks
appreciate your time and help

Tags (2)
0 Karma

Anthony_Hou
Path Finder

splunk 5.0.5 may solve this problem:

Search head pooling: Build event type page shows error: "Unable to get
sample events: local variable 'f' referenced before assignment".
(SPL-70870)

0 Karma

lmyrefelt
Builder

Same "problem" here, however I can not see that it affects the creation of the eventtype.
The only thing that might be logged in regards, but i dont think so, to the error showing up is the following;

splunkd.log
12-04-2012 14:33:11.330 +0100 WARN NetUtils - select_for timeout hit waiting for read
12-04-2012 14:33:11.330 +0100 WARN NetUtils - Bad select_for_loop rv = -2
12-04-2012 14:33:11.330 +0100 ERROR HTTPClient - Should have gotten at least 3 tokens in status line, while getting response code. Only got 0.

0 Karma

jfaldmo
Explorer

I'm getting the same error when in a custom app, not the search app. Any answers out there?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...