TUI SSH monitor for Caddy web server logs
Find a file
SW 2be12c24cd perf: server-side awk aggregation for history views
High-traffic servers (100+ req/s) generated millions of log lines
per day. Transferring raw lines over SSH was impractical (GB of data).

Instead, run an awk script on the server that aggregates all matching
log files (including .gz rotated ones) into time buckets and returns
only a ~50-line summary. For a server doing 180 req/s this reduces
SSH transfer from ~7GB to <1KB per history request.

The awk script filters by timestamp, groups by bucket, and outputs:
- per-bucket request counts, bytes, and status code groups
- top hosts and IPs with counts
- overall totals

Files are pre-filtered with find -mtime to skip archives older than
the requested window.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 14:50:51 +02:00
.github/workflows ci: add automated release workflow 2026-06-11 10:10:04 +02:00
cmd feat: initial caddyview implementation 2026-06-11 09:50:09 +02:00
internal perf: server-side awk aggregation for history views 2026-06-11 14:50:51 +02:00
.gitignore ci: add automated release workflow 2026-06-11 10:10:04 +02:00
go.mod feat: initial caddyview implementation 2026-06-11 09:50:09 +02:00
go.sum feat: initial caddyview implementation 2026-06-11 09:50:09 +02:00
LICENSE chore: add MIT license 2026-06-11 10:01:07 +02:00
main.go feat: initial caddyview implementation 2026-06-11 09:50:09 +02:00