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 ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...