Skip to content

The Neighbours

Outcome: you can place GoAccess among the other ways of knowing what your site did — and say what each neighbour does that it doesn't, and vice versa.

These tools are characterised, not run: the lab verified GoAccess, and this chapter is a map drawn from the neighbours' own documentation and from where they sit relative to it.

Hosted analytics (Google Analytics and kin)

The famous neighbour works the other way round: a snippet of JavaScript in every page reports each visit to the company's servers, and you read the results in their web app. It sees things a log never can — a page read from a browser cache, the visitor's screen size, the clicks within a page — and it counts something closer to people. In exchange, your visitors' behaviour lives on someone else's computer, the snippet is one more thing your pages carry, and an ad-blocker in the visitor's browser can make the visit vanish entirely. GoAccess's trade is the mirror image: only what the server saw, but all of it, kept at home. Many sites run both and let each audit the other.

The other log analysers (AWStats, Matomo, and the field)

AWStats is the elder of GoAccess's own kind: a Perl analyser that writes static HTML reports from logs, with a similar panel set and a longer history. GoAccess's edges are its live terminal dashboard, its single-binary manners and its real-time mode; AWStats' is sheer years of deployment. Matomo is a self-hosted analytics platform — closer to a hosted service you run yourself, with its own tracking snippet, database and dashboards; it answers visitor questions GoAccess cannot, at the cost of being a platform to maintain rather than a command to run. And there are privacy-first hosted services (the likes of Plausible and Fathom) that sell the middle ground: their snippet, their servers, deliberately little data. The choice is mostly about where the data lives and how much machinery you want.

Log managers (Loki, and the ELK stack)

A different species, easily confused with analysers. A log manager collects logs — from many machines, many programs, not just web servers — stores them centrally, and lets you search the raw lines. GoAccess assumes the log is already in your hand and answers aggregate questions about it. The Loki guide in this series covers the manager's side: shipping, labels, and queries. The two compose happily — the manager finds the hour something broke; GoAccess, handed that hour's web log, says what the break looked like from the site's side.

Metrics systems (Prometheus and Grafana)

This series' monitoring pair counts numbers a system reports about itself — CPU, memory, request rates measured inside programs — and graphs them over time. GoAccess derives its numbers from records written after the fact. Metrics tell you the server is straining now; log analysis tells you who strained it, page by page. Neighbours, not rivals.

grep, awk, and your own two hands

The zero-install neighbour deserves its due: the lab's own filtering chapter is built from grep and awk, and for a single question — "how many 404s today?" — a one-line pipeline is faster than any analyser. Where hand-rolled counting gives out is breadth: the moment you want eleven panels, three output shapes and a shareable page, all agreeing with each other, you are rebuilding GoAccess one pipeline at a time. Knowing both is the craft; the pipelines stay useful inside the analyser's workflow, as chapter 8 showed.