This script does that. It writes one JSON Lines file per UTC day to a local audit_log_2026-05-11.jsonl # complete day, written once and skipped after audit_log_2026-05-12.jsonl # complete day, written ...