I've spent some period of time trying to get Splunk to index our proxy logs and while I've made progress I'm still having some problems.
My issues all revolve around field extraction, I was unable to use the "extract fields" option within the GUI because it wasn't correctly detecting the data format so the regex's were all wrong (and I don't know enough to write my own). I then progressed to the AutoHeader setting and after modifiying my log source a little (to better delimit fields) I now have the fields being detected successfully. The problem now is that I also have the header line being listed as an indexed event. I assume this isn't the correct behaviour? This header is the first, commented, line of every log file, followed by thousands of lines of individual events. The log file appears to be being correctly detected automatically, assigned the correct sourcetype, and mapping the fields correctly... it's just still logging the field names as an event.
Any suggestions? I've found explanations of how to setup AutoHeader, but no discussion of the headers being shown in events.
Cheers,
James
Tags:
Share
Facebook
-
▶ Reply to This