GoAccess parses web server access logs and shows traffic statistics in the terminal or a live HTML dashboard. It targets admins and operators who want fast HTTP metrics without a heavy analytics stack.
Overview
GoAccess reads common and custom web log formats and reports hits, visitors, bandwidth, slow requests, virtual host usage, and related metrics. Terminal panels refresh on a short interval; HTML output can update in near real time over WebSockets.
It supports Apache, Nginx, S3, load balancers, CloudFront, Caddy, Traefik, Squid, IIS, and user-defined format strings. Optional on-disk persistence allows incremental processing of large logs. Reports can also be exported as JSON or CSV, with maps based on configurable GeoIP data and extras such as UTM campaign breakdown, bot classification, TLS fields, ASN filtering, and application response time.
You run it from the shell against log files or piped streams, including tail -f workflows filtered with grep or similar tools. Docker images and compose examples are documented for piping logs into containers or serving real-time HTML on a port. Packages exist for major Linux distributions, macOS via Homebrew, and BSD variants.
WebSocket connections can authenticate with local or external JWT verification and refresh tokens. The program is implemented in C and depends on ncurses for terminal UI, with optional GeoIP and OpenSSL at build time.
Key features
- Real-time TUI and HTML views
- Many predefined log formats
- Incremental on-disk persistence
- JSON and CSV export
- Virtual host and UTM reports
- Bot and crawler classification
- WebSocket JWT authentication
- Docker image support
Use cases
- SSH quick log inspection
- Live traffic monitoring
- Security anomaly spotting
- Self-hosted access statistics