ngxtop with nginx-boilerplate logs
KoteKotlyarov opened this issue · 1 comments
I'm trying to use ngxtop on logs from https://github.com/nginx-boilerplate/nginx-boilerplate
But with no luck. No errors. Just 0 records processed: 0.00 req/sec
I used default boilerplate configs, tried to move log format into my sites config file, used every option from ngxtop...
Tried several times, on site access logs, on default access logs... Nothing.
Looks like something wrong with me... Or ngxtop doesnt work with that nginx boilerplate...
Can someone test it ?
Nginx boilerplate uses an extended custom logging format. So you need to account for that.
This worked for me: ngxtop -l logs/access.log -c nginx-boilerplate/nginx.conf
Also, if you are testing on a static (non-updating) log file you you need to pass --no-follow
additionally.