LinuxCommandLibrary

logss

CLI tool for log stream splitting and visualization

TLDR

Split logs by patterns
$ tail -f [logfile] | logss -s "[pattern1]" -s "[pattern2]"
copy
Write matched patterns to files
$ tail -f [logfile] | logss -s "[pattern]" -o [output.log]
copy
Start in single view mode
$ tail -f [logfile] | logss -s "[pattern]" --single
copy

SYNOPSIS

logss [options]

DESCRIPTION

logss is a CLI/TUI tool for visualizing and splitting log streams in real time. It allows you to define multiple regex patterns and view matching log entries in separate panes, with automatic color coding and adjustable render speed.
The tool reads from stdin and distributes log lines to different views based on pattern matches, making it useful for monitoring multiple types of events in a single log stream.

PARAMETERS

-s, --substring PATTERN

Specify a regex pattern to match and split logs by.
-o, --output FILE
Write matched patterns to an output file.
--single
Start in single view mode.
-v, --vertical
Start in vertical view mode.
-r, --render-speed MS
Specify render speed in milliseconds.

CAVEATS

Reads exclusively from stdin. Log sources must be piped into the tool.

HISTORY

logss was created by todoesverso and is written in Rust.

SEE ALSO

grep(1), tail(1), multitail(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard