jqlog command for MoonX.
moonx cli/jqlog@0.2.4 [options] <query> [input]| Option | Description |
|---|---|
| -f, --file PATH | Read log input from a file. |
| FILTER [TEXT] | Select a filter and optional literal input; - means stdin. |
| -- | End options before a filter beginning with -. |
| --help / --version | Show help / package version. |
moonx cli/jqlog@0.2.4 -f logs.ndjson '.message'
printf '%s\n' '{"level":"info"}' | moonx cli/jqlog@0.2.4 '.level'