goaccess

by QuenchWorks

Helm chartv0.0.4App 1.12MITVerified publisher

GoAccess: a real-time web log analyzer serving a live HTML dashboard of an access log over WebSocket. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks GoAccess

Hardened GoAccess, a real-time web log analyzer. It follows an access log (nginx, Apache, Caddy, CloudFront, ELB, W3C and more), keeps the statistics in memory and pushes them to a live HTML dashboard over WebSocket: visitors, requests, status codes, referrers, browsers and operating systems. The image is built from source in C, runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest; the report is served by our caddy image in the same pod.

Install

GoAccess reads the log from a PersistentVolumeClaim your web server or log shipper writes to:

helm install stats oci://ghcr.io/quenchworks/charts/goaccess \
  --set logs.existingClaim=nginx-logs --set logs.file=access.log --set logs.format=COMBINED
kubectl port-forward svc/stats-goaccess 8080 7890

Open http://localhost:8080; the page connects back to port 7890 for live updates.

Configuration

KeyDefaultWhat it does
logs.existingClaimrequiredPVC with the access log (mounted read-only at /logs)
logs.file, logs.formataccess.log, COMBINEDThe file inside it and its format
wsUrl""WebSocket URL browsers use (wss://host:7890 behind TLS)
service.port, service.wsPort8080, 7890Report and WebSocket
extraArgs[]More flags (--ignore-crawlers, --exclude-ip)

A ReadWriteOnce claim needs GoAccess on the same node as the writer; use ReadWriteMany storage or schedule them together.

Verify the image

cosign verify ghcr.io/quenchworks/images/goaccess \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy goaccess with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has goaccess on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgoaccess is pinned at v0.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply