LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

lazyjournal

TUI for viewing logs from journald, Docker, and Kubernetes

TLDR

Launch the interactive log viewer
$ lazyjournal
copy
Pipe logs and filter with fuzzy search
$ cat [/var/log/syslog] | lazyjournal -f "[error]"
copy
Pipe logs and filter with regex
$ cat [/var/log/syslog] | lazyjournal -r "[error|fatal]"
copy
Connect to a remote system via SSH
$ lazyjournal --ssh "[user@host -p 2222]"
copy

SYNOPSIS

lazyjournal [options]

DESCRIPTION

lazyjournal is a TUI for reading logs from multiple sources including journald, auditd, file system, Docker and Podman containers, Compose stacks, and Kubernetes pods. It supports log highlighting and several filtering modes.Filtering capabilities include case-sensitive exact matching, fuzzy search (similar to fzf), regex patterns, and timestamp-based date/time range selection. It can list all systemd services with their current state and stream new events in real time like tail.

PARAMETERS

-f

Enable fuzzy search filtering mode (case-insensitive inexact matching, similar to fzf).
-r
Enable regex filtering mode.
-c
Enable output highlighting in command-line mode.
-l, --logging
Write executed commands to a log file for debugging.
-m
Disable mouse control.
-t, --timezone-filter offset
Set UTC offset for date/time range filtering (default: `+00:00`).
--ssh args
Connect to a remote system via SSH. Accepts standard SSH arguments as a single quoted string.

INSTALL

brew install lazyjournal
copy
nix profile install nixpkgs#lazyjournal
copy

CAVEATS

Log source availability depends on the host system. Docker and Kubernetes log sources require their respective runtimes to be installed and running.

HISTORY

lazyjournal was created by Lifailon and is written in Go. It is inspired by lazydocker and lazygit, and supports Linux, macOS, BSD, and Windows.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid