• An open-source desktop application that processes pcap files and logs files. Its primary focus is providing search and analytics.

Brim Query Reference

PurposeSyntaxExample Query
Basic searchYou can search any string and numeric value.Find logs containing an IP address or any value.10.0.0.1
Logical operatorsOr, And, Not.Find logs contain three digits of an IP AND NTP keyword.192 and NTP
Filter values”field name” == “value”Filter source IP.id.orig_h==192.168.121.40
List specific log file contents_path==“log name”List the contents of the conn log file._path=="conn"
Count field valuescount () by “field”Count the number of the available log files.count () by _path
Sort findingssortCount the number of the available log files and sort recursively.count () by _path | sort -r