Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm running a server that hosts several different websites and content. I want to know which websites and which files or services are using up the bandwidth. Do any of the freeware apache log analyzers do this?

For example, it would be nice to know amount of bandwidth consumed per different URL ever requested from the server.

share|improve this question

2 Answers 2

webalizer should do the trick, at least for n most popular urls and total transfer.

share|improve this answer
1  
It does look awfully ugly though. :) –  David Pashley Jul 26 '09 at 8:16

awstats includes the total bandwidth of each entry in every hit-count statistic it reports. So you get bandwidth per day, per month, per hour of the day, per country, per client IP, per URL, etc. The bandwidth amounts may not be dead-on accurate since they're computed from the Apache log's recorded transfer size, which doesn't include every single byte sent over the network (things like the internals of a TCP packet aren't included), but they're pretty close. Just don't rely on awstats (or any logfile analyzer) to tell you when you're hitting your hosting provider's bandwidth cap ;-)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.