What GoAccess Is
Outcome: you can say what an access log is, what questions GoAccess answers from one, and where the privacy line sits — before any command appears.
The diary
When a web server answers a request, it writes one line to its access log. Here is a real line from this guide's lab, made by a browser asking for a page that does not exist:
127.0.0.1 - - [01/Nov/2026:02:28:20 +0000] "GET /no-such-page HTTP/1.1" 404 153 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
Read it left to right: the address that
asked (127.0.0.1, the lab machine
itself), the date and time, the request
(GET /no-such-page), the status
code the server answered (404 — not
found), how many bytes it sent back, the
page the visitor came from (the
referrer, here -, none), and the
user agent: the string the visitor's
program sent to introduce itself.
One line is trivia. A month of lines is a record of everything your site did: every page served, every miss, every bot, every 3 a.m. spike. The problem is purely one of reading. Nobody can hold ten thousand near-identical lines in their head and say which page is popular.
The analyser
GoAccess is the reader. You hand it a log file; it parses every line, counts and cross-tabulates, and presents the results as a set of panels:
- Visitors — hits per day (or hour)
- Requested files — the pages, ranked
- Static requests — stylesheets, scripts, images
- Not found — the URLs that got a 404
- Hosts — the addresses that asked
- Operating systems and browsers — read out of the user agent strings
- Referring sites — where visitors arrived from
- Status codes — the 200s, 404s and the rest, grouped
- Visit time — the hours of the day
Those panels appear in a terminal dashboard (chapter 4), in a single HTML file with charts (chapter 6), or as JSON and CSV for your own scripts (chapter 7). Same numbers, three audiences: you at a keyboard, a colleague in a browser, and a program.
The privacy line, early
A log line names an address and a reading history. On a home network the address may be one person's machine; on the internet, an IP address plus timestamps is personal data in the eyes of privacy law in much of the world, and it deserves care regardless of the law. This guide's rule, stated here and kept throughout:
- Analyse logs from servers you run (or logs you have been given for the purpose). GoAccess will cheerfully read any file; that a file can be read is not a reason to read it.
- Keep reports the way you keep the logs: they contain the same addresses and reading habits, in a friendlier shape.
- When you share numbers — with a colleague, in a bug report, anywhere — share the panels, not the raw log, and consider whether the hosts panel needs to travel with them.
The lab honours its own rule: its server ran on a loopback address, its visitors were scripts on the same machine, and its "site" is invented. Your real logs will be less tidy and more sensitive.
What it is not
GoAccess is not a hosted analytics service: nothing is uploaded, no tracking code goes into your pages, and it can only see what the server saw — a page a visitor's browser served from its cache may never touch the log at all. It is not a log manager: it does not collect logs from other machines or keep them for years (chapter 11 points at the tool in this series that does). And it is not a truth machine about people: its "visitors" are fingerprints — an address plus a browser string plus a day — not human beings, and chapter 4 teaches you to read its counts with that in mind.