llq enables responsively quering your structured json logs to understand your application
msg
: Filters to logs that have themsg
key and displays only the value of this key for each loglevel == 'error', msg
: Filters to error logs with msg keys and displays both the level and msglevel == 'error', *
: Similar to above, but the wildcard means the entire log object is displayedsequence > 20, sequence < 30, msg
: Binary comparisons are implemented for integers
Queries are made of a comma separated list of expressions. An expression contains a json path and optionally an operation and rhs
level
foo.bar.baz
array.5.key1
level == 'info'
count == 5
count > 5
count < 5
name > 'a'
* # a wildcard is a special type of path specifier that matches all paths