lnav

Advanced log file viewer to analyze logs with little to no setup. More information: <https://docs.lnav.org/en/latest/cli.html>.

Install

All systems
curl cmd.cat/lnav.sh
Debian Debian
apt-get install lnav
Ubuntu
apt-get install lnav
image/svg+xml Kali Linux
apt-get install lnav
Fedora
dnf install lnav
Windows (WSL2)
sudo apt-get update sudo apt-get install lnav
OS X
brew install lnav
Raspbian
apt-get install lnav

Advanced log file viewer to analyze logs with little to no setup. More information: <https://docs.lnav.org/en/latest/cli.html>.

  • View logs of a program, specifying log files, directories or URLs:
    lnav path/to/log_or_directory|url
  • View logs of a specific remote host (SSH passwordless login required):
    lnav ssh [email protected]:/var/log/syslog.log
  • Validate the format of log files against the configuration and report any errors:
    lnav -C path/to/log_directory

© tl;dr; authors and contributors