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 Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...