Re: unable to log upstream_bytes_sent

2017-05-01 Thread itpp2012
Its part of stream {} http://mailman.nginx.org/pipermail/nginx-devel/2016-September/008752.html Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273859,274018#msg-274018 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

Re: unable to log upstream_bytes_sent

2017-05-01 Thread Igal @ Lucee.org
Chad, On 5/1/2017 1:05 PM, Chad Hansen via nginx wrote: Bumping; does anyone have experience using upstream_bytes_sent or upstream_byes_received? nginx: [emerg] unknown "upstream_bytes_sent" variable nginx: configuration file /etc/nginx/nginx.conf test failed It's unclear to me i

Re: unable to log upstream_bytes_sent

2017-05-01 Thread Chad Hansen via nginx
Bumping; does anyone have experience using upstream_bytes_sent or upstream_byes_received? On Tue, Apr 25, 2017 at 2:53 PM Chad Hansen wrote: > I'm running nginx 1.11.9, and I get an error any time I try to use > bytes_sent, upstream_bytes_sent, or upstream_bytes_received. I've tried > logging di

unable to log upstream_bytes_sent

2017-04-25 Thread Chad Hansen via nginx
I'm running nginx 1.11.9, and I get an error any time I try to use bytes_sent, upstream_bytes_sent, or upstream_bytes_received. I've tried logging directly in a log format, or using in a map: map $request_method $chad_sent { default $upstream_bytes_sent; } map $request_method $chad_received {