If you just need a took for doing this then try out also [LogParser](https://en.wikipedia.org/wiki/Logparser)