What algorithms have you tried?
As I understand it, all you want to do is:
In reply to Re: Log Parsing Help by SuicideJunkie in thread Log Parsing Help by dlcasey