Re: $bytes_received variable not working

2020-01-08 Thread Sergey A. Osokin
Hi there, hope you're doing well. The $bytes_received embedded variable is a part of ngx_stream_core_module, please see the following link for details, http://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_bytes_received My guess is the mentioned log_format directive was defined outsid

$bytes_received variable not working

2020-01-08 Thread junly
My nginx is compiled and installed, and the version installed is Nginx version: nginx / 1.14.0 The parameters for compilation are: Configure the arguments:--prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-lo