# Nginx upstream backend view requests

**URL:** <https://www.ruby-forum.com/t/nginx-upstream-backend-view-requests/201140>\
**Category:** NGINX\
**Created:** [December 31, 2010, 10:08am UTC](https://www.ruby-forum.com/t/nginx-upstream-backend-view-requests/201140 "2010-12-31T10:08:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [December 31, 2010, 10:08am UTC](https://www.ruby-forum.com/t/nginx-upstream-backend-view-requests/201140/1 "2010-12-31T10:08:16Z")

</div>

hi!

is there a way to see how many requests load balance upstream serves to  
specific hosts?

thanks

Posted at Nginx Forum:

> **[nginx upstream backend view requests](https://forum.nginx.org/read.php?2,162439,162439#msg-162439)**
>
> hi! is there a way to see how many requests load balance upstream serves to specific hosts? thanks

---

<div class="post-metadata">

**Author:** ![elgreco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/90db22/32.png) [@elgreco](https://www.ruby-forum.com/u/elgreco)\
**Post date:** [January 3, 2011, 5:28am UTC](https://www.ruby-forum.com/t/nginx-upstream-backend-view-requests/201140/2 "2011-01-03T05:28:49Z")

</div>

On Fri, Dec 31, 2010 at 3:06 AM, elgreco [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> is there a way to see how many requests load balance upstream serves to  
> specific hosts?

You can add $upstream\_addr to your log\_format definiton.

> **[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

–  
RPM

---

<div class="post-metadata">

**Author:** ![elgreco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/90db22/32.png) [@elgreco](https://www.ruby-forum.com/u/elgreco)\
**Post date:** [January 10, 2011, 9:52am UTC](https://www.ruby-forum.com/t/nginx-upstream-backend-view-requests/201140/3 "2011-01-10T09:52:46Z")

</div>

Great tip!

thanks a lot!

Posted at Nginx Forum:

> **[Re: nginx upstream backend view requests](https://forum.nginx.org/read.php?2,162439,165052#msg-165052)**
>
> hi! is there a way to see how many requests load balance upstream serves to specific hosts? thanks
