lnav

A terminal log file viewer that merges, tails, searches, filters and queries log files with SQL.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

1 more ways to get lnav

Package managers

About lnav

The Logfile Navigator, lnav for short, is a log viewer for the terminal aimed at small-scale use. You point it at a directory, and it detects the file formats, unpacks compressed files as it goes and merges the logs into one timeline you can tail, search and filter.

It includes an SQLite interface for querying log data, plus online help and previews for operations. No server or setup is needed, and you can try it over SSH on a public demo machine before installing.

Strengths

  • Automatic detection of log formats and compressed files
  • Merges several logs into one view
  • SQL queries over log data through SQLite
  • No server or setup required

Limitations

  • Meant for small-scale use, not central log collection
  • Terminal interface takes some learning

Details

Pricing
FreeFree and open source.
License
BSD-2-Clause
Developer
Tim Stack
Platforms
macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Developers and administrators reading logs on a single machine
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to lnav

Compare all

Software that can replace lnav for an important use case, and what changes if you switch.

  • less

    A classic terminal file pager for reading text files and command output one screen at a time.

    less is preinstalled on most Unix systems and pages through logs one screen at a time, but it lacks lnav's format detection, log merging and SQL queries.

  • ov

    Read long command output with a configurable terminal pager.

    ov is a configurable pager with search, column views and file-following modes that runs on Windows too, but it does not merge logs or support SQL queries.

lnav as an alternative

Listings that name lnav as an alternative.

  • tailspin

    Highlight useful patterns in log files without a custom parser.

    lnav goes beyond highlighting to merge, tail, filter and query logs with SQL through SQLite, but it runs on macOS and Linux only and takes learning.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing