# Nginx Access\_log Bytes

**URL:** <https://www.ruby-forum.com/t/nginx-access-log-bytes/204599>\
**Category:** NGINX\
**Created:** [March 16, 2011, 4:59pm UTC](https://www.ruby-forum.com/t/nginx-access-log-bytes/204599 "2011-03-16T16:59:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [March 16, 2011, 4:59pm UTC](https://www.ruby-forum.com/t/nginx-access-log-bytes/204599/1 "2011-03-16T16:59:05Z")

</div>

In the directive for logging access logs i’m trying to determine if the  
following variable $bytes\_sent also accounts for proxy traffic if i’m  
pulling content from an origin server?

Posted at Nginx Forum:

> **[Nginx Access\_log Bytes](https://forum.nginx.org/read.php?2,183270,183270#msg-183270)**
>
> In the directive for logging access logs i'm trying to determine if the following variable $bytes\_sent also accounts for proxy traffic if i'm pulling content from an origin server?

---

<div class="post-metadata">

**Author:** ![frankatchoopa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/8e8cbc/32.png) [@frankatchoopa](https://www.ruby-forum.com/u/frankatchoopa)\
**Post date:** [March 16, 2011, 5:23pm UTC](https://www.ruby-forum.com/t/nginx-access-log-bytes/204599/2 "2011-03-16T17:23:30Z")

</div>

Hello!

On Wed, Mar 16, 2011 at 11:57:21AM -0400, frankatchoopa wrote:

> In the directive for logging access logs i’m trying to determine  
> if the following variable $bytes\_sent also accounts for proxy  
> traffic if i’m pulling content from an origin server?

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com

: $bytes\_sent, the number of bytes transmitted to client

It accounts for traffic sent to client, nothing more nor less.

Maxim D.
