#53·ngxtop

-i argument does not filter in some cases

Author: max-lCreated Jun 12, 2015Updated May 7, 2019
I run this : ` ngxtop --no-follow -i 'upstream_response_time >=2' print upstream_response_time request ` and all rows are returned. the -i filter has no effect.

nginx configuration file:
  /etc/nginx/nginx.conf
access log file:
  /var/log/nginx-access.log
access log format:
  $remote_addr [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" $request_time $upstream_response_time $pipe
available variables:
  body_bytes_sent, http_referer, http_user_agent, pipe, remote_addr, request, request_time, status, time_local, upstream_response_time