How to log nginx vhost bandwidth?

Posted by bwizzy on Server Fault See other posts from Server Fault or by bwizzy
Published on 2010-04-19T21:31:48Z Indexed on 2010/04/19 21:33 UTC
Read the original article Hit count: 225

Filed under:
|
|

I'm looking for a way to be able to track the bandwidth of multiple vhosts on an nginx web server. I'm guessing there is a way that I can set up the log files to output this information and then I can write a script to parse through the log files and add up the file sizes.

If that is the case does anyone know the correct log format, and if there is already a script out there that does this?

© Server Fault or respective owner

Related posts about webserver

Related posts about nginx