Syntax: cat <filename> | jq -c '.[] | select( .<key> | contains("<value>"))'
Example: To get json record having _id equal 611
cat my.json | jq -c '.[] | select( ._id | contains(611))'
Remember: if JSON value has no double quotes (eg. for numeric) to do not supply in filter i.e. in contains(611)
jq -c '. | select(.action == "problem_statement") | select(.context[] | contains("ipsum") | not) | .context[] | select(split(" ") | length < 20)' session_july_last_few_days.jsonl
Example
jq '. | select( .label == "USAGE")' annotated_data.jsonl
jq '. | select( .label == "TROUBLESHOOT")' annotated_data.jsonl
jq -c '. | select( .label == "")' annotated_data.jsonl
curl -s '$HOST/rs/search?q=poodle&rows=0' | jq '.responseHeader.params."lw.pipelineId"'