jsonlogviewer

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command jsonlogviewer is a terminal UI application for viewing large JSON log files. It supports memory-mapped file access for multi-GB files and provides a two-pane interface with a scrollable table and pretty-printed JSON details.

Usage:

jsonlogviewer [flags] [file]
cat app.log | jsonlogviewer [flags]

Flags:

-debug    Enable debug logging to ./logs/

Navigation:

Arrow keys, j/k       Move cursor up/down
Page Up/Down, C-b/C-f Page up/down
Home/End, gg/G        First/last line
C-e/C-y               Scroll view up/down
C-u/C-d               Half page up/down
H/M/L                 Cursor to top/middle/bottom of visible
F1, ?                 Toggle help
q, Esc                Quit

Example:

jsonlogviewer /var/log/app.json
journalctl -o json | jsonlogviewer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL