descriptionshell scripts for work on CLF logs
last changeSun, 17 May 2026 12:14:20 +0000 (08:14 -0400)
content tags
readme

All scripts assume the default (Combined Log Format) format and the default (on most platforms) logrotate config ( regular .log and .log.1 files, every other log file gzip’ed)

searchlog

grep all access.log* files

esearchlog

grep all error.log* files

chckip

grep all access.log* files and perform reverse IP lookup on IPs from matched entries

countbytes

grep all access.log* files and show total bytes sent to the IPs in matched entries

countconn

shows connections per minute with -m or all connections a day with -d change the output line count with -l

shortlog
2026-05-17 gitremove GNU-specific `sort -V`, fix log concatenation... master
2026-05-16 gitcountbytes: remove unnecessary escape characters
2026-05-16 gitupdate readme
2026-05-13 gitcountbytes: make the output human-readable
2026-05-13 gitchange exit code for errors with $SERVER, fix log conca...
2026-05-13 gitcountconn: add per-day count and optimize
2026-05-06 gitadd countbytes
2026-05-05 gitcountconn: fix output being broken with ipv6 clients...
2026-05-03 gitrefine README
2026-05-03 gitimprove error handling across every script
2026-05-03 gitinitial public commit
heads
4 weeks ago master