jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
If you have Zeek configured to write logs in JSON format and you want to parse those logs from the command line, then you can use
jq. Here’s a basic example:
jq '.' /nsm/bro/logs/current/conn.log
This command will parse all of the records in
/nsm/bro/logs/current/conn.log. For each of the records, it will then output every field and its value.