Profile
Back to NewsBack
GitHub Trending 1 min
Reader Mode
hedhyw/json-log-viewer: Interactive viewer for JSON logs.

hedhyw/json-log-viewer: Interactive viewer for JSON logs.

5 hours ago

JSON Log Viewer

!Version Go Report Card</a> Coverage Status</a> Mentioned in Awesome Go</a>

An interactive tool for viewing and analyzing complex structured JSON logs.

!Animation

Installation

Homebrew

brew install hedhyw/main/jlv

Standalone Binary, DEB or RPM packages

https://github.com/hedhyw/json-log-viewer/releases/latest

Release artifacts are built by GitHub Actions and carry a build provenance attestation. To verify that a downloaded file was produced by this repository:

gh attestation verify jlv_windows_amd64.zip --repo hedhyw/json-log-viewer

Go

go install github.com/hedhyw/json-log-viewer/cmd/jlv@latest

Quick start

# Open a log file.
jlv application.log

Or open several files at once.

jlv application-2025-02-03-*.log

Or read from stdin.

kubectl logs pod/my-pod -f | jlv

Press ? inside the viewer to see all hotkeys, F to filter, Enter to expand a log entry, and Ctrl+C to exit. See usage for more examples.

Documentation

Chat with me