Re:Show HN: Top, but for Nginx
by gregoriol on Tuesday June 09, 2020 @10:39AM
(#23467037)
Maybe not as lightweight, but GoAccess (https://github.com/allinurl/goaccess) does an awesome job at parsing the logs and displaying statistics, works for nginx and other webservers too
[ Parent
| on HN ]
I hadn't heard of this tool but it looks much more complete! Thanks for sharing.
Goaccess used to work perfectly, but recently when ever I try to run the real time HTML command, it exits without any error messages after ~2 million records. Maybe out of memory.. any ideas?
Doubt very much that ~2M will be a memory issue (unless you got less than ~130MB). https://goaccess.io/faq#performance
We're running v1.4 in production and it has been working pretty nice for us.
Last time I tried it was a pain to set it up to keep up with log rotations and retain all the records.
For us it was literately an `apt install goaccess`, picked the COMBINED log format and it's been running for over a month in prod without issues (rotating weekly).
You should post the issue on their https://github.com/allinurl/goaccess, they may be able to help you.