ngxtop icon indicating copy to clipboard operation
ngxtop copied to clipboard

-i argument does not filter in some cases

Open max-l opened this issue 9 years ago • 1 comments

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

max-l avatar Jun 12 '15 21:06 max-l

Oh, what a bummer to see that this issue is still opened. I've just noticed the same: I'm not able to filter by "request_time" or "upstream_response_time". I'll take a look at the code to see if I can fix it, but I can't promise anything :)

rostagnolisandro avatar May 07 '19 16:05 rostagnolisandro