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

RSS Recent releases

  •  30 Mar 2014 16:56

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.

  •  12 Nov 2013 02:22

    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 23:17

    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.

    •  25 Apr 2013 01:22

      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 05:10

        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.

        RSS Recent comments

        27 Apr 2013 16:28 timstack Thumbs up

        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 Avatar davidgoadby Thumbs up

        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

        Fosfat

        A library and a tool for a read-only access on a Smaky disk.

        Screenshot

        Project Spotlight

        PeaZip

        A file and archive manager supporting 150+ archive formats.