Alternatives to lnav

A terminal log file viewer that merges, tails, searches, filters and queries log files with SQL. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as lnav.

  • 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.

Also worth comparing

These listings name lnav as their own alternative, so the relationship runs both ways.

  • 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 a direct replacement.