Reading the repo
Opening the box…
Reading the repo
Opening the box…
Assembly instructions
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Saved setup from 10 h ago
Will it work on macOS?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/allinurl/goaccess.git cd goaccess
Docker
brew install --cask docker # Docker Desktop
Docker Desktop must be open and running.
docker build -t goaccess/build.debian-12 -f Dockerfile.debian-12 . docker run -i --rm -v $PWD:/goaccess goaccess/build.debian-12 > goaccess
To output to a terminal and generate an interactive report:
# goaccess access.log
To generate an HTML report:
# goaccess access.log -a > report.html
To generate a JSON report file:
# goaccess access.log -a -d -o report.json
To generate a CSV report to stdout:
# goaccess access.log --no-csv-summary -o csv
GoAccess also allows great flexibility for real-time filtering and parsing. For instance, to quickly diagnose issues by monitoring logs since goaccess was started:
# tail -f access.log | goaccess -
And even better, to filter while maintaining opened a pipe to preserve
real-time analysis, we can make use of tail -f and a matching pattern tool
such as grep, awk, sed, etc.:
# tail -f access.log | grep -i --line-buffered 'firefox' | goaccess --log-format=COMBINED -
or to parse from the beginning of the file while maintaining the pipe opened and applying a filter
# tail -f -n +0 access.log | grep -i --line-buffered 'firefox' | goaccess -o report.html --real-time-html -
No reports for macOS yet.
GitManual AI Agent reads the 7 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.