Re: Need some guidance for setting upstream logs in NGINX TCP Load Balancer

2021-07-21 Thread Sergey A. Osokin
Hi Akki, hope you're doing well these days. On Tue, Jul 20, 2021 at 02:05:41PM +0530, awani227 wrote: > Hi, > > I'm using 'nginx/1.21.1' for load balancing TCP connection for DBs > like Teradata, Netezza, Oracle and MySQL. I'm using stream directive > for it as per the guidance > 'https://docs.n

Re: Need some guidance for setting upstream logs in NGINX TCP Load Balancer

2021-07-20 Thread Maxim Dounin
Hello! On Tue, Jul 20, 2021 at 02:05:41PM +0530, awani227 wrote: [...] > stream { > >     log_format  timed_combined  '$remote_addr - [$time_local] > $session_time $msec $status $protocol ua="$upstream_addr" > "$upstream_connect_time" "$upstream_response_time"'; [...] > I'm able to establis

Need some guidance for setting upstream logs in NGINX TCP Load Balancer

2021-07-20 Thread awani227
Hi, I'm using 'nginx/1.21.1' for load balancing TCP connection for DBs like Teradata, Netezza, Oracle and MySQL. I'm using stream directive for it as per the guidance 'https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/' .  Following is my stream configuration  (