Select only matching objects from a JSONL stream.
Section: Processing JSONL files
Filter JSONL lines by a field
bash
bash
jq -c 'select(.event == "signup")' events.jsonlExplanation
Because each line is a valid JSON object, jq can stream through them efficiently.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Processing JSONL files