Analytics 1 min read

GoAccess vs Tianji: log analysis or an all-in-one hub

Real-time analysis of web server logs, or website analytics combined with uptime and server status. Data sources, scope and setup compared.

Where the data comes from

GoAccess is a web log analyzer. It reads the access logs your web server already writes, from Apache, Nginx, CloudFront, Caddy, Traefik and other formats, and shows the results in a terminal or a live HTML dashboard. Tianji is a web application that combines website analytics with an uptime monitor and server status, and it stores its data in PostgreSQL.

That difference decides a lot. GoAccess can only report what is in your logs, but it needs nothing added to your pages. Tianji puts analytics, monitoring and notifications behind one dashboard.

Scope beyond page views

GoAccess leans towards operations and security: response times, load per virtual host, bot and crawler classification, TLS details and ASN mapping for spotting suspicious networks. Tianji's roadmap lists uptime monitoring, server status, problem notifications, telemetry for open-source deployments, UTM tracking, surveys, Lighthouse reports and hooks.

Tianji's README says it targets lightweight needs and that specialists may still prefer dedicated tools. GoAccess's README calls it more of a monitor command tool than anything else.

Running them

GoAccess is written in C, needs only ncurses and runs on *nix systems, with in-memory storage that limits the dataset to available physical memory, plus optional on-disk persistence. It is MIT licensed. Tianji ships a Docker Compose stack with the application and PostgreSQL and is licensed under Apache 2.0.

Deciding

If you have shell access to your servers and want traffic and security insight from logs you already keep, GoAccess covers it. If you would rather run one service for website analytics and uptime checks, Tianji was designed for that case. Neither product was installed or tested for this comparison.

Sources

GoAccess: goaccess-project · Evidence: documentation · Not checked

Tianji: tianji-project · Evidence: documentation · Not checked

Next step

Tools in this guide

All analytics tools
All guides