
Split a server access-log line into its six named fields, ignoring stray spaces and rejecting lines with the wrong shape.
Read whole numbers out of log fields without ever crashing, and sort status codes into their families.
Render byte totals in B, KB and MB, group large counts with commas and line report columns up.
Build reusable log entry filters as functions that return functions, and combine them to answer narrow incident questions.
Turn raw access-log lines into an incident triage report, composing given split, parse, format and filter functions.