On May 27, 2012, at 9:19 AM, Suryajith Chillara wrote:
> Could you please make a few different benchmark files accessible to me
> so that I could test the script on those files ?
I can, but it'll take me a few days to get to it. I suggest seeing if you can get logs from others or get access to other platforms and run the benchmark there in the meantime, or just making your parsing flexible enough to accommodate changes. That'd be a good thing to do regardless, obviously.
You can't have all of the log files because the real litmus test that you're parsing everything correctly is to test with log files you haven't seen yet. ;-)
If you're not already, I would suggest defining all of the fields you're interested in extracting and then individually/specifically parsing just one field at a time. Having a list of regular expressions for each field (in a function) would be useful in and of itself.