#1 2012-03-30 13:53:14

keeppace
New member
Registered: 2012-03-30
Posts: 1

Dealing with a Complex Log File

Tags: [complex, parse]

I am trying to process a Log file that is rather complex in its construction.   The best way to describe the Log file is that it is several pieces

Top Part - Contains information about the Job (Name, Server, Start Time, etc)

Middle Part - Contains the commands / results that were issues

Bottom Part - Contains summary information about the job ..


What I think would work for this is to process the file line by line and look for certain identifiers (which exist in the files) - which would allow for parsing individual lines if they meet a certain criteria

Any suggestions on how to approach this are appreciated ..

Offline

Board footer

Powered by FluxBB