Videos

  • Add Videos
  • View All

Latest Activity

Profile Icon
Greg Vallenari is now a member of splunkninja Sunday
Profile Icon
Profile Icon
Michael Wilde commented on Michael Wilde's video
Sure...  When you do group mapping, map them to groups that don't have the domain admins in them.  I have a separate OU=Groups that has "Splunk Users, Splunk Admins, Splunk Power Users" as group names, and specific users…
Feb 8
Profile Icon
Mike Hartford commented on Michael Wilde's video
I want to give LDAP access to my splunk servcie but I don't want the LDAP users to have admin capabilitys in Splunk.  Can I keep the domain admins out of Splunk if I have LDAP authentication???
Feb 7
Profile Icon
Mike Hartford left a comment for Jonathan Hawes
Helow Jonathan,   Glad to have another Splunker.  I've been useing Splunk for 2 years and am hooked.  I leared how to spell splunk and | transaction too.  you'll learn that one soon.   Go over to Splunk…
Feb 7
Profile Icon
Mike Hartford commented on Mike Hartford's blog post 'tees for the holy day'
  Holy Batskins Ninja, zzzzzwap zgruppp kapow a hidden stash, how great is that!!!!   The team that found them must have special bat senses and highly tooned Splunking skills   I like to wear Extra Lovable…
Feb 7
Profile Icon
Learning, learning, learning . . . Our Splunk "expert" is gone, and the non-programmer gets to learn the task! How do you spell SPLUNK?
Status posted by Jonathan Hawes Feb 7
Profile Icon
Jonathan Hawes is now a member of splunkninja Feb 7
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

Views: 46

Reply to This

Replies to This Discussion

I'm also having terrible trouble getting Splunk to automatically import my logs.

The log files are being sent by FTP to a local directory on the Splunk server. Splunk shows me the correct number of files in the Manager - Data Inputs - Files and Directories summary, however it doesn't seem to do anything with them. The Inputs Activity status doesn't show anything, the files aren't "ignored" but they're not processed either. If I restart Splunk it seems to correctly import the log files but since I'm sending these logs every hour or more I don't really want to be restarting Splunk every time.

I've attempted the crcSalt=source setting in the thought that it was incorrectly seeing my files as similar however that had no impact.
I've resolved the failing to import issue. It was the crcSalt=! setting, I just wasn't using it properly (I thought source was meant to be replaced by the source, rather than literally typing in !).

Still no luck with the headers, they're all still being indexed. thankfully I can filter them out of search results but it's rather annoying with the first string in every search simply removes all the header results.
Got a sample I can monkey with?

RSS

© 2012   Created by Michael Wilde.

Badges  |  Report an Issue  |  Terms of Service