3 messages in ru.sysoev.nginxlogging upstream server addr and timings
FromSent OnAttachments
Calvin Hendryx-ParkerSep 24, 2007 1:10 pm 
Igor SysoevSep 24, 2007 9:42 pm 
Calvin Hendryx-ParkerSep 25, 2007 8:58 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:logging upstream server addr and timingsActions...
From:Calvin Hendryx-Parker (calv@public.gmane.org)
Date:Sep 24, 2007 1:10:53 pm
List:ru.sysoev.nginx

Hi,

I would like to log the response times for each of my upstream servers in a load balanced configuration. Currently the upstream variables for the reponse time work, but I can't get the address of the upstream server that was used for the request.

I have tried to use $upstream_http_server_addr and $proxy_host, but the first one doesn't return a value and the second one returns the name of the upstream cluser and not a specific host that handled the request.

I'm using nginx version: nginx/0.5.30. Is this a bug or am I using the wrong variable?

Thanks, Calvin