in reply to Log File Parsing using "split"

Definitely not in order of importance, and NOT to excoriate you (in fact, perhaps betraying bits 'n pieces of mine own ignorance), but

What this smells like is cargo culting and cut-and-pasting without a clear understanding of what the ancestor code did or how it worked.

And, for us to help, we surely need a somewhat clearer exposition -- a snippet, sample -- of the logfile whose format is unknown to us.

Please UPDATE your question... and please read How do I post a question effectively? both of which will help us to help you.