Awesome Go

json-log-viewer

CategoryUtilities
SubcategoryUtilities
Stars243

Interactive viewer for JSON logs

About json-log-viewer

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

Frequently Asked Questions

What is json-log-viewer?

json-log-viewer is a Utilities library for the Go programming language. Interactive viewer for JSON logs

How do I install json-log-viewer?

Install json-log-viewer with the Go module system using `go get hedhyw/json-log-viewer`. Check the repository for the current installation instructions.

What category does json-log-viewer belong to?

json-log-viewer is listed under Utilities, specifically Utilities.

← Back to Utilities