NGINX - mwicat/personal GitHub Wiki

Apache compatible logs

log_format logformatname '$remote_addr - $remote_user [$time_local]  '
 '"$request" $status $body_bytes_sent '
 '"$http_referer" "$http_user_agent" $request_time $request_completion $host $scheme';

Then:

apt install apachetop
apachetop -f /var/log/nginx/access.log

Non apache logs

pip3 install ngxtop