Single-pass log aggregation with POSIX awk associative arrays
Use POSIX awk associative arrays to aggregate structured logs in a single streaming pass. Define field splitting, guard numeric fields, accumulate in arrays, and emit deterministic totals in END. Verify output and handle common pitfalls.