Maybe some utilites exists, but I do not know. Now I am writing IDS which will audit apache log files.