The Logfile Navigator, lnav for short, is a curses-based tool for viewing and analyzing log files. The value added by lnav over text viewers or editors is that it takes advantage of any semantic information that can be gleaned from the log file, such as timestamps and log levels. Using this extra semantic information, lnav can do things like interleaving messages from different files, generate histograms of messages over time, and provide hotkeys for navigating through the file. These features are meant to allow the user to quickly and efficiently focus on problems.
|Tags||Systems Administration Database Logging Log Analysis Site Management|
|Operating Systems||Unix Mac OS 10.7|
Release Notes: The scrollbar is now highlighted with red or yellow to show which sections of the logs have errors or warnings. Tab-completion has been added for searches so that you can complete whatever is currently displayed on screen. Syntax-highlighting has been added for the command prompt (i.e. search regexes and SQL queries). The xterm title is updated to display the current log file. A "headless" mode allows you to use lnav to process logs from a script.
Release Notes: Adds support for word-wrapping in the log and text file views. Logs that are JSON-encoded can now be read by lnav and displayed using custom formatting.
Release Notes: Custom log formats and more builtin formats are now supported. Data can be automatically extracted from log messages. This release some UI improvements and support for 256-color terminals.
Release Notes: Files can now be specified on the commandline using wildcards so new files are automatically loaded. Directories can also be passed as commandline arguments to read all of the files in the directory. This release adds a "C" hotkey to clear any existing user bookmarks and experimental support for accepting input from mice.
Release Notes: Support for bzip2 compressed files was added. Text files that are not recognized as logs are broken out into a separate view. A "session" file and command have been added so that you can run lnav commands on startup.