question about traffic statistics on each vhost,is it po

mike mike503 at
Wed Oct 1 23:06:11 MSD 2008

On Wed, Oct 1, 2008 at 9:43 AM, Maxim Dounin <mdounin at> wrote:
> Hello!
> Why not just log needed numbers ($bytes_sent) to access_log and post-process
> it with anything you want?

I might be forced to do this right now. That means millions of lines
per day on 3 servers to combine, merge and calculate...

I'm sure it would be simple for someone to write a module that dumps
out Host: header stats to a file every so often (one per day) ...
*fingers crossed*

More information about the nginx mailing list