Two additions. First, I need this machine-readable as well: add a --json flag that writes the same summary as JSON to stdout instead of the human table. Second, I'm about to run this on a month of logs that is a few hundred megabytes, so I need to be sure it streams line by line rather than reading whole files into memory. Confirm how it stays memory-bounded, and make the --json output valid JSON I can pipe into other tools.
