Real-time web log analyzer and interactive viewer that runs in a terminal or through your browser
open sourceMITself-hostablefree
GoAccess is an open source web log analyzer written in C that reads web server access logs and shows HTTP statistics in real time, either as an interactive dashboard in the terminal (with ncurses as its only dependency) or as a self-contained HTML report that can update live in the browser over a WebSocket, with JSON and CSV output too. It parses nearly every web log format, including Apache, Nginx, Amazon S3, Elastic Load Balancing, CloudFront and Caddy, once you set the log format, and reports visitors, requested files, referrers, status codes, operating systems, browsers, bots and response times. Because it works from the logs, it needs no tracking script in pages, and its makers describe it as handy for spotting suspicious traffic, brute-force attempts, scanners and bots over SSH.
Problems it solves
- see who's hitting my Nginx server right now from an SSH session
- web analytics from server access logs without adding a JavaScript tracker
- a quick report of top pages, referrers and 404s from an Apache log
- spot bots, scanners and brute-force attempts in my web server logs
- generate a live-updating HTML traffic dashboard from my access log
- analyze CloudFront or S3 access logs on the command line
- privacy-friendly website statistics that never touch visitors' browsers
Features
- real-time terminal dashboard and self-contained HTML report with live updates
- JSON and CSV output
- nearly all web log formats: Apache, Nginx, Amazon S3, ELB, CloudFront, Caddy and more
- custom log formats
- visitors, requested files, referrers, status codes, browsers, operating systems and bots
- written in C with ncurses as its only dependency
- color schemes for terminal and HTML dashboards
- incremental log processing with on-disk storage
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what GoAccess does.
- Umami Privacy-first web and product analytics; no cookies, self-hosted or in the cloud
- GoatCounter Easy web analytics. No tracking of personal data.
- Plausible Analytics Open source, privacy-first web analytics; a lightweight, cookie-free Google Analytics alternative
