Sitelet https://github.com/allinurl/goaccess/pull/2975
Skip to content

Show hostname resolution progress for static reports - #2975

Open
ElliottLandsborough wants to merge 1 commit into
allinurl:masterfrom
ElliottLandsborough:master
Open

Show hostname resolution progress for static reports#2975
ElliottLandsborough wants to merge 1 commit into
allinurl:masterfrom
ElliottLandsborough:master

Conversation

@ElliottLandsborough

@ElliottLandsborough ElliottLandsborough commented Aug 3, 2026

Copy link
Copy Markdown

Summary

When generating static reports (HTML/JSON/CSV via --with-output-resolver), GoAccess reverse-resolves the hostname for every visitor IP. On large logs this can take a while, and previously there was no feedback — the parsing spinner finished, then the process just appeared to hang while DNS lookups happened silently.

This PR adds a second, determinate progress phase to the existing spinner: after parsing completes, hostname resolution now shows Resolving hostnames X/Y (Z pending) so users can see it's actively working and roughly how far along it is.

Screen recording of it switching over from processing 70 million logs to resolving the hostnames:

Screen.Recording.2026-08-21.at.01.36.55.mov

Testing

  • Manually ran against large amount of logs logs with --with-output-resolver; confirmed hostnames resolve correctly in the output report and the progress counter advances and matches the final resolved count.
  • No change in behaviour for real-time HTML / curses mode (progress display remains parsing-only there, as before).

@ElliottLandsborough
ElliottLandsborough force-pushed the master branch 2 times, most recently from ca20d45 to 7283a32 Compare August 3, 2026 16:30
@ElliottLandsborough
ElliottLandsborough marked this pull request as ready for review August 5, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant