|
|
|
@ -53,13 +53,14 @@ Then, in the [1mlnav[0m TUI, you can:
|
|
|
|
|
|
|
|
|
|
[1mScreenshot[0m
|
|
|
|
|
|
|
|
|
|
The following screenshot shows a syslog file. Log lines are displayed
|
|
|
|
|
with highlights. Errors are red and warnings are yellow.
|
|
|
|
|
The following screenshot shows a mix of syslog and web access log
|
|
|
|
|
files. Failed requests are shown in red. Identifiers, like IP
|
|
|
|
|
address and PIDs are semantically highlighted.
|
|
|
|
|
|
|
|
|
|
]8;;docs/assets/images/lnav-syslog.png\[4m🖼 Screenshot[1][0m]8;;\[4m[2][0m
|
|
|
|
|
]8;;docs/assets/images/lnav-front-page.png\[4m🖼 Screenshot[1][0m]8;;\[4m[2][0m
|
|
|
|
|
|
|
|
|
|
▌[1] - file://{top_srcdir}/docs/assets/images/lnav-syslog-thumb.png
|
|
|
|
|
▌[2] - file://{top_srcdir}/docs/assets/images/lnav-syslog.png
|
|
|
|
|
▌[1] - file://{top_srcdir}/docs/assets/images/lnav-front-page.png
|
|
|
|
|
▌[2] - file://{top_srcdir}/docs/assets/images/lnav-front-page.png
|
|
|
|
|
|
|
|
|
|
[1mWhy not [0m[1mjust[0m[1m use [0m[1m[37m[40m tail [0m[1m/[0m[1m[37m[40m grep [0m[1m/[0m[1m[37m[40m less [0m[1m?[0m
|
|
|
|
|
|
|
|
|
@ -71,6 +72,24 @@ won't return a full multi-line log message. Less can only display a
|
|
|
|
|
single file at a time. Also, none of these basic tools handle
|
|
|
|
|
compressed files.
|
|
|
|
|
|
|
|
|
|
[1mTry online before installing[0m
|
|
|
|
|
|
|
|
|
|
You can SSH into a demo node to play with lnav before installing.
|
|
|
|
|
|
|
|
|
|
The [35m"playground"[0m account starts lnav with a couple of log files as an
|
|
|
|
|
example:
|
|
|
|
|
|
|
|
|
|
]8;;ssh://playground@demo.lnav.org\[4m[37m[40m $ ssh playground@demo.lnav.org [0m]8;;\[4m[1][0m
|
|
|
|
|
|
|
|
|
|
▌[1] - ssh://playground@demo.lnav.org
|
|
|
|
|
|
|
|
|
|
The [35m"tutorial 1"[0m account is an interactive tutorial that can teach you
|
|
|
|
|
the basics of operation:
|
|
|
|
|
|
|
|
|
|
]8;;ssh://tutorial1@demo.lnav.org\[4m[37m[40m $ ssh tutorial1@demo.lnav.org [0m]8;;\[4m[1][0m
|
|
|
|
|
|
|
|
|
|
▌[1] - ssh://tutorial1@demo.lnav.org
|
|
|
|
|
|
|
|
|
|
[1mInstallation[0m
|
|
|
|
|
|
|
|
|
|
]8;;https://github.com/tstack/lnav/releases/latest#release-artifacts\[4mDownload a statically-linked binary for Linux/MacOS from the release[0m]8;;\
|
|
|
|
|