access.log is very useful for nginx , but it's hard analyse it , today I find GoAccess, it's written in C and very efficient.

goaccess

I have a CentOS 7 box running nginx, the log is stored in /var/log/nginx/access.log, it also config to listen on port 80 for folder /usr/share/nginx/html/, so with a simple command below goaccess --agent-list --output=/usr/share/nginx/html/goaccess.html --log-format COMBINED --real-time-html /var/log/nginx/access.log, we could see the real time access log analyse result from browser like below

goaccess-1

goaccess-2

goaccess-3

it also have pre-built images from https://hub.docker.com/r/allinurl/goaccess/, I will look into how to integrate it into ingress-nginx next.