You don't specify the platform where Apache resides.
A good general pourpose tool is AWStats: have a look to it's home page for the wide list of features.
It's written in Perl, and parsing 50GB of logs may require some minutes, but Perl was made for this...