CLI tool for tailing logs from deployments using JSON log format.
This is implemented in Rust and published as binary crate on crates.io
First, install rust if you don't already have it:
shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Then, install the tool:
shell
cargo install json-log-parse
You will also need stern
installed:
shell
brew install stern
Example, using service-mortgage:
shell
json-log-parse -a service-mortgage -s 5m
To get help:
shell
json-log-parse --help