Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Parsing arbitrarily-formatted timestamps out of log file entries

by chuckbutler (Parson)
on Dec 11, 2009 at 23:44 UTC( #812464=note: print w/replies, xml ) Need Help??


in reply to Parsing arbitrarily-formatted timestamps out of log file entries

Do not underestimate using unpack for extracting a date and/or time sequence from a record. Also, split the record, using split, into manageable fields. Normally, there is a TAB or a COLON separating the fields. A Google of “unix log file format” may also shed some light. Good luck.

  • Comment on Re: Parsing arbitrarily-formatted timestamps out of log file entries

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://812464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2016-08-29 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.