Projects / lnav

lnav

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
Licenses
Operating Systems
Implementation

Recent releases

  •  30 Mar 2014 06:25

    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.

    •  11 Nov 2013 16:17

      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.

      •  29 Aug 2013 14:10

        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.

        •  24 Apr 2013 16:09

          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.

          •  21 Jul 2011 03:48

            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.

            Recent comments

            27 Apr 2013 16:28 timstack

            Hmm, I'm not sure what the permission issue might be... If you can come up with some steps to reproduce it, you can open an 'Issue' on the lnav github page and I can take a closer look at the problem. Thanks!

            26 Apr 2013 09:18 davidgoadby

            A good companion to glogg. Only problem is with permissions. Even if you run as root, the file browser is denied permission to open files in the log folder.

            My /var/log/mylogs permissions are: drwxr--xr--x and the files: -rw-r-----

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.