I am looking for a fast script that will parse a large mail.log, and return the portion between two specified timestamps. I would like to run it on all of my mailservers, and have them copy the relevent log portions to a central location for further analysis.
I have written something in bash that works, but is slow.
Does anybody know of anything that already exists to accomplish this - or do I need to learn perl and make something up myself?
(I am not putting this on SO, as I am not yet at the point where I want to write any code - just looking for something somebody else is already using)