When you compare the bandwidth usage statistics reported by AWStats, Analog, Logaholic, and Webalizer to the bandwidth statistics that cPanel & WHM provide, you may be surprised to find there are discrepancies.
These discrepancies result from how each different program parses the logs and measures bandwidth. To measure bandwidth, cPanel & WHM combine the amount of bytes of an incoming data request with the outgoing transferred data (the response to that request). cPanel & WHM obtains this data from the Apache logs.
- The total bandwidth that the incoming request which solicited the content used.
- The total bandwidth that the complete response used (the sum of the size of the content plus the header).
Log processing programs extract the amount of bytes that the Apache combined access log transfers. The Apache combined access log records incoming data requests, which includes the size of the requested file, in bytes.
- This size only includes the full size of the content of the requested file. It does not reflect the actual number of bytes that the system transferred.
- This size measures the content of the file only. It does not include the size of the headers of the response.
- This size does not include the size of the request.
For further details please review our documentation on bandwidth usage: