ngxtop
ngxtop copied to clipboard
-i argument does not filter in some cases
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
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 :)