Skip to content

Repository files navigation

JSON Log Viewer

Version Go Report Card Coverage Status Mentioned in Awesome Go

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

About

Interactive viewer for JSON logs.

Topics

Resources

Contributing

Stars

240 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages