Description
ngxtop is a command-line tool that reads your nginx access log and shows top-style metrics about the requests coming in. It lets you see what is happening on a server in real time, so you can troubleshoot or check traffic while you run it. By default it finds the access log and its format on its own, and it watches for new lines as they are written. You can also query the log with commands such as print, top, avg and sum, choose the log file or format, and set the report interval. It can parse a remote Apache common access log as well. The README says ngxtop is built for short sessions. For long-running monitoring or for storing stats in an external graphing system, it suggests a different tool called Luameter. ngxtop installs with pip. It was primarily developed and tested with Python 2, and the README says it also supports Python 3.…
Highlights
- Top-style live view of nginx requests
- Finds the access log and its format automatically
- Queries with print, top, avg and sum
- Custom log file, log format and report interval
- Can parse Apache common access logs
Ratings & Reviews
No ratings yet
Be the first to rate Ngxtop.
People also visit
GoAccess
Real-time web log analyzer and interactive viewer that runs in a terminal
Ngxtop FAQ
What does ngxtop show?
Metrics from your nginx access log in a top-like view, so you can see which requests are most common and what is happening now.
How do I install ngxtop?
Run pip install ngxtop.
Which Python version does it need?
It was primarily developed and tested with Python 2. The README says it also supports Python 3.
Is ngxtop for long-term monitoring?
No. The README says it is designed for short sessions and suggests another tool for long-running monitoring or stored stats.
Can I point it at another log file?
Yes. Use -l for the access log and -f for the log format. Add --no-follow to process the current content of the log instead of watching new lines.
What are the best Ngxtop alternatives?
Popular alternatives to Ngxtop include Agent, Nginx Module VTS and PrettyLog. See all Ngxtop alternatives



