Linux command
loggo 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Stream logs from a file
loggo stream -f [path/to/logfile]
Stream logs from piped input
cat [logfile] | loggo stream
Stream Kubernetes logs
kubectl logs -f [pod_name] | loggo stream
说明
loggo is a rich terminal UI for digesting JSON-based structured log streams. It can stream parsed logs from persisted files and from piped input, and provides tools for creating log templates. It works with applications running locally, on Kubernetes clusters, GCP Stack Driver (Google Logs), and many other sources. The TUI is built with tview and tcell for interactive log browsing and filtering.
FAQ
What is the loggo command used for?
loggo is a rich terminal UI for digesting JSON-based structured log streams. It can stream parsed logs from persisted files and from piped input, and provides tools for creating log templates. It works with applications running locally, on Kubernetes clusters, GCP Stack Driver (Google Logs), and many other sources. The TUI is built with tview and tcell for interactive log browsing and filtering.
How do I run a basic loggo example?
Run `loggo stream -f [path/to/logfile]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more loggo examples?
This page includes 3 examples for loggo, plus related commands for nearby Linux tasks.