Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 481 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 481 Bytes

Parsing of JSON logs

If you have a service that outputs logs in JSON format, you can pipe the output through clog to make it more readable.

The output looks like this: screenshot

It will display the time in the local time zone, the request id if it exists, the severity, and the message.

Installation

cargo install --git https://github.com/sighol/clog

Usage with kubectl

kubectl logs POD_NAME CONTAINER_NAME --follow | clog