Have a look at the solutions mentioned.
The thing to be aware of is that processing the data has an overhead. So if you're pushing large amounts of traffic your bandwidth logging / processing might have a negative impact on your server's performance if you're not careful ie. keep an eye on how much of an impact it has.