Bandwidth usage per file

I need to know the exact bandwidth used to server each file,
Does Nginx support this feature?

Posted at Nginx Forum:,170777,170777#msg-170777

I mean bandwidth used to SERVE file,

Posted at Nginx Forum:,170777,170781#msg-170781

I have a module to measure the bandwidth of based of the accounting_id
in the config file.

http {
http_accounting on;

server / {

location /path/to/myfile {
    http_accounting_id  "myfile";



the result is write to syslog device, you may filter the result in

get the code from google code(,
or github(