Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's site is invented, its visitors are scripts, and its traffic is loopback only.
- Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 12 names what the tool cannot do: it sees only what the server logged, its visitors are fingerprints rather than people, user-agent strings are self-reported claims, it has no date-range flags, it parses one format per run, its persistence counts whatever it is fed without deduplication, GeoIP needs a database it does not ship, and its real-time mode turns it into a network server that needs protecting.
- The ethics rule is in the text, early. A log line holds a visitor's IP address and reading history, so the README and chapter 1 draw the line before any procedure depends on it: analyse logs from servers you run or were given for the purpose, keep reports with the same care as the logs, and share panels rather than raw logs. The lab honoured it by generating every line itself, on a loopback address, from invented pages and scripted user agents.
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox,
shared with other work while the lab ran. GoAccess 1.8.1
was installed unmodified from the Ubuntu package
goaccess 1:1.8.1-1build3 (build flags --enable-utf8,
--enable-geoip=mmdb, --with-openssl). The log it analysed
was written by nginx 1.24.0 running with a custom prefix
inside the lab directory on loopback port 18084 (no systemd),
serving an invented four-page site; the traffic was 27 real
HTTP requests made by curl with scripted user-agent strings
(three browsers, a phone, a search bot, and curl itself),
including deliberate 404s and one POST the server refused with
a 405. All transcripts live in goaccess-lab/transcripts/;
the log itself is goaccess-lab/access.log, the traffic
script is goaccess-lab/make-traffic.sh, the server config is
goaccess-lab/nginx.conf.example, and one full JSON report is
kept at goaccess-lab/report.json.
Run for real, with transcripts as evidence:
- Installation from apt and the version output with its build
flags; nginx's version beside it (t00). The full
--helptext, from which every option this guide names was taken (t01). - The nginx fixture itself: config test, start, a first 403 caused by the worker user's file permissions (error log quoted), the lab fix, and a 200 (t02). The 27-request traffic run with every response code, and the complete resulting access log (t03).
- JSON output over the real log: 27 total, 27 valid, 0 failed, 5 unique visitors, 5,056 bytes of bandwidth; every panel enumerated, the requests/status/browsers/not-found/hosts rows read back and cross-checked with Python (t04).
- The HTML report: a single self-contained 576,404-byte file, its title and data verified against the log; CSV output beside it, its rows sampled (t05).
- The terminal dashboard, captured through a pseudo-terminal with redraw sequences stripped: the overall-analysed header (27 requests, 5 visitors, 2 not found) and the first panels (t06). The capture is the final drawn frame, tidied, and the transcript says so.
- Log formats: COMBINED spelled out as a custom format string
with explicit date/time formats giving the identical
27/27/0 result; the same settings from a
-pconfig file; the COMMON preset parsing the combined log with zero failures (the parser tolerates the extra fields — reported in the guide as the warning it is); and a garbage line counted as 1 failed and captured verbatim by--invalid-requests(t07). - Filtering: a
grepsubset for one page counted exactly 6; anawksubset of 404 lines counted exactly 3 with the right not-found rows;--date-spec=hrgrouping all 27 hits into the single hour bucket 2026110102; and-eexcluding the log's only host, moving all 27 hits to the excluded count (t08). - Persistence: the first attempt failed with the fatal
set_db_patherror because the--db-pathdirectory did not exist (t08); with the directory created, a 20-line run persisted 151 database files, and a--restorerun added a 7-line second part to reach exactly 27 with 5 unique visitors (t09).
Documented only — described from the project's documentation or the program's help text, not run, and the text does not claim otherwise:
- Real-time mode (
--real-time-htmland its WebSocket options): it needs a browser to observe updates landing, and the lab had none pointed at it. Chapter 10 is explicitly a map of the mode, with checks a reader can run on a machine that has a browser. - GeoIP lookups: the build supports MaxMind-format
databases, but no
.mmdbdatabase was downloaded (they normally require a provider account), so no geography output is shown or claimed. --keep-last: named from the help text; the lab's log spans a single hour, so pruning across days was not exercised.- The
--config-dialog(-c): it needs an interactive terminal; the lab verified formats by preset name, custom string, and failed-count checks instead. - The neighbour tools of chapter 11 (hosted analytics, AWStats, Matomo and kin, log managers) — characterised from their own documentation, not run or benchmarked.
- Other servers' log files (Apache, Caddy, cloud and proxy formats): the format system that reads them was verified against nginx's combined layout only.
Fixtures are this guide's own and deliberately generic: an invented example site, example.org/example.com referrers, stock browser and bot user-agent strings, and loopback addresses throughout. No real visitor, site, or organisation appears in any log line.