Skip to content

Instantly share code, notes, and snippets.

@Zobber
Created April 6, 2020 16:01
Show Gist options
  • Select an option

  • Save Zobber/c082ae9cd6602b75c23926b0909afbc5 to your computer and use it in GitHub Desktop.

Select an option

Save Zobber/c082ae9cd6602b75c23926b0909afbc5 to your computer and use it in GitHub Desktop.
jq -c 'select((.http or .tls) and .alert) | [.flow_id,.http.hostname,.http.http_method,.alert.signature,.src_ip,.dest_ip]' | sed 's/\"//g;s/\[//;s/\]//;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment