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
nicholas Lehman
nicholas Lehman
  • Male
  • milwaukee, wi
  • United States
Share on Facebook Share on Facebook Share Twitter

nicholas Lehman's Discussions

Search returns weird #'s

Ok, here's the deal. Still working on the AS/400 Splunk issue. I am currently focusing on creating event types and custom searches for particular security events from the AS/400. Based on my…Continue

Started Mar 23, 2010

Timestamping is the bane of my existance
10 Replies

I'm working on a quick fix for AS/400 logging and the ability to cleanly report it. I've got all the fields mapped out, but the timestamping gets retarded. I've tried feeding the logfile to splunk…Continue

Started this discussion. Last reply by nicholas Lehman Mar 8, 2010.

 

nicholas Lehman's Page

Gifts Received

Gift

nicholas Lehman has not received any gifts yet

Give nicholas Lehman a Gift

Latest Activity

Profile Icon

Search returns weird #'s

Ok, here's the deal. Still working on the AS/400 Splunk issue. I am currently focusing on creating event types and custom searches for particular security events from the AS/400. Based on my understanding of IBM's documentation (leaves much to be desired, btw) the security related events are made up of two sections of an event. The Journal Code and Event Type. The Journal Code for security should always be a T, and the event type will be a two letter code that corresponds to different security…See More
Discussion posted by nicholas Lehman Mar 23, 2010
Profile Icon
nicholas Lehman replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
Well, if this is a common occurrence, I may want to look into developing an app for AS/400. In the meantime, I can post the script I made for my particular application. Simple bash (cause perl confuses me). #!/bin/bash cd ~/ echo accessing…
Mar 8, 2010
Profile Icon
Michael Wilde replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
If your script is "post-able".. that'd be great... the "AS/400 question" comes up often and users would like to benefit from your experience.
Mar 8, 2010
Profile Icon
nicholas Lehman replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
Well, this is a down and dirty compliance stop gap. The log journals get spat out to text file every night, and then a cron job runs a script to pull them off the as/400 via sftp along with an MD5 sum file. The script then performs an md5sum on the…
Mar 8, 2010
Profile Icon
Michael Wilde replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
Question for you: How'd you get the logs from the AS/400. Arent they in EBCDIC, if so did you convert them? Whats your strategy for AS/400. Please share. (might even be blog post worthy!)
Mar 8, 2010
Profile Icon
nicholas Lehman replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
haha, I was just about to come back and let you know I answered my own question. Thanks for all the help Michael!
Mar 8, 2010
Profile Icon
Michael Wilde replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
You are correct. Monitor a directory will work just fine. I user a single file to answer your challenge. Glad it worked for you!
Mar 8, 2010
Profile Icon
nicholas Lehman replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
Awesome, it worked! One question though, for the monitor option in the inputs.conf, can I just leave the end of the path open ended to look in that directory for any new files? I see you put a file at the end, and am wondering if I'm a bit…
Mar 8, 2010
Profile Icon
Michael Wilde replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
This will work. First, create a props.conf in an appropriate directory (system level or app level), I'll make mine in $SPLUNK_HOME/etc/system/local/props.conf Add this to it: #my sourcetype will be called "as400" [as400] #I want…
Mar 6, 2010
Profile Icon
nicholas Lehman replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
the information preceeding the timestamp will always be different. The beginning of the event log contains record length, sequence number, journal code and entry type. Even the information immediately before and after the timestamp will be different…
Mar 6, 2010
Profile Icon
Michael Wilde replied to nicholas Lehman's discussion 'Timestamping is the bane of my existance'
Nicholas.. can we establish a pattern on what precedes the timestamp... like will it always be some number of digits, followed by a TPW, followed by your date pattern? If so.. this should be easy..
Mar 6, 2010
Profile Icon

Timestamping is the bane of my existance

I'm working on a quick fix for AS/400 logging and the ability to cleanly report it. I've got all the fields mapped out, but the timestamping gets retarded. I've tried feeding the logfile to splunk for timestamp recognition. Even tried a bit of regex (which I most likely biffed). Nothin'. Pulling my hair out here guys. Below is the first part of a log event Time stamp is "021110070911", or "MMDDYYhhmmss.Any ideas on getting proper timestamp information out of…See More
Discussion posted by nicholas Lehman Mar 4, 2010
Profile Icon
Michael Wilde left a comment for nicholas Lehman
Nicholas.. Thanks for signing up. I set up this site so we can freely share, discuss, ask questions, post videos.. whatever. Ask hard questions, and we'll try to get them answered. Milwaukee? I grew up there (West Allis to be specific).…
Jan 8, 2010
Profile Icon
nicholas Lehman is now a member of splunkninja Jan 7, 2010

Profile Information

Are you an existing splunk user?
Free
What do you do for your day job?
Information Security

Comment Wall (1 comment)

At 8:16pm on January 7, 2010, Michael WildeMichael Wilde said…
Nicholas..

Thanks for signing up. I set up this site so we can freely share, discuss, ask questions, post videos.. whatever. Ask hard questions, and we'll try to get them answered.

Milwaukee? I grew up there (West Allis to be specific). Austin, TX is my home now.

Thanks

Michael Wilde
Splunk Ninja

You need to be a member of splunkninja to add comments!

Join splunkninja

 
 
 

© 2012   Created by Michael Wilde.

Badges  |  Report an Issue  |  Terms of Service