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.
Homepage
Download
Recent Releases
0.12.419 Dec 2024 21:05
minor bugfix:
Features:
Log message timestamps are now represented with microsecond
precision internally instead of just millisecond.
:
Improved startup time.
Maintenance:
Replaced ncurses with notcurses.
0.12.330 Apr 2024 01:25
minor bugfix:
Features:
Files that contain a mixture of log messages from separate
services (e.g. docker logs) can now be automatically
de-multiplexed into separate files that lnav can digest.
:
Log messages in formats with custom timestamp formats were
not being converted to the local timezone.
The timezone offset is now shown in the parser details
overlay for log messages.
Maintenance:
Upgrade to C++17.
0.12.206 Apr 2024 05:25
minor bugfix:
:
With the recent xz backdoor shenanigans, it seems like a good.
Time to add some checks for data being hidden by escape codes:
File names with escape sequences are now displayed in quotes.
With backslash escapes.
Text that has the same foreground and background colors will.
Have the background set to a contrasting color.
A crash during initialization on Apple Silicon and MacOS 12.
Has been.
0.12.104 Mar 2024 10:25
minor feature:
Interface changes:
Changed the breadcrumb bar styling to space things out.
More and make the divisions between items clearer.
The `ESC` key can now be used to exit the files/filters.
Configuration panel instead of `q`. This should make
it easier to avoid accidentally exiting lnav.
Added some default help text for the command prompt.
Suggestions are now shown for some commands and can
be accepted by pressing the right arrow key. For.
Example, after typing in `:filter-in` the current
Search term for the view will be suggested (if
One is active).
0.12.008 Jul 2023 23:40
major feature:
Support for themes and custom keymaps.
0.9.029 Sep 2020 04:44
major feature:
Support for themes and custom keymaps.
0.8.312 Feb 2018 07:49
minor feature:
Support for the Bro Network Security Monitor log format; allow highlight colors to be configurable; and some SQL improvements.
0.8.213 Apr 2017 17:48
major feature:
Expanded online help, SQL functions, and various improvements to log formats.
0.8.015 Nov 2015 21:28
major feature:
Integration with papertrailapp.com, SQL improvements, and much more.
0.7.312 Apr 2015 18:26
minor feature:
* Add 'pipe-to' and 'pipe-line-to' commands that pipe the currently marked lines or the current log message to a shell command, respectively.
* Added a "pretty-print" view (P hotkey) that tries to reformat log messages so that they are easier to read.
* Added a 'redraw' command (CTRL+L hotkey) to redraw the window in case it has been corrupted.
* Added a 'relative-goto' command to move the current view relative to its current position.
* Experimental support for linking with jemalloc.
* The plain text view now supports filtering.
* Added 'next-mark' and 'prev-mark' commands to jump to the next or previous bookmarked line (e.g. error, warning, ...)
* Added a 'zoom-to' command to change the zoom level of the histogram view.
* Log formats can now define their own timestamp formats with the 'timestamp-format' field.
0.7.203 Mar 2015 00:52
minor feature:
* Added log formats for vdsm, openstack, and the vmkernel.
* Added a "lo-fi" mode (L hotkey) that dumps the displayed log lines to the terminal without any decorations. The write-to, write-json-to, and write-csv-to commands will also write their output to the terminal when passed '-' as the file name. This mode can be useful for copying plain text lines to the clipboard.
* (OS X) Text search strings are copied to the system's "find" clipboard. Also, when starting a new search, the current value in the "find" clipboard can be tab-completed.