lnav
詳細情報
| タイトル | lnav |
|---|---|
| URL | https://lnav.org/ |
| バージョン | ver 0.15.0-beta1 |
| 更新日 | 2026/09/29 |
| 追加日 | 2024/11/21 |
| 種別 | フリーソフト / オープンソース(その他) |
| 説明 | ログファイルを効率的に監視・ナビゲートすることができるユーティリティ。 |
レビュー

lnav(The Logfile Navigator)はターミナルから利用できるログファイルビューアー。
次のような特徴を持つ。
- 必要に応じた解凍
- ログフォーマットを検出
- ログファイルを時間ごとにマージして1つのビューに統合
- ファイルのtail、リネームの追跡、ディレクトリ内の新規ファイルの検索
- エラーと警告のインデックスを作成する
- JSON行のプリティプリント
スクリーンショット
更新グラフ
バージョン履歴
lnav v0.14.1
Features:
- Added the
:reload-viewcommand, bound toF5/⌘-R,
that re-runs the operation that populated the current
view.
In the DB view, this re-executes the last SQL query; in
the TIMELINE view, it rebuilds the index. Views that
don't have a meaningful reload report an error. - The DB view now shows a status bar above the bottom
status bar with the SQL query that populated the view,
the relative time when it was run, and how long it took.
A reload icon on the left side of the bar can be clicked
to re-run the query. For queries that read from log-backed
tables, the status bar also calls out whether the results
are "
lnav v0.14.0
Features:
-
The Filter configuration panel in the TUI now supports
editing the minimum log level and minimum/maximum
times for the current view. Previously, only the
:set-min-log-level,:hide-lines-before, and
:hide-lines-aftercommands could be used to set the
values. Pressinglwill create/set the log level.
Pressingmwill create/set the minimum
time and pressingShift+Mwill create/set the
maximum time. Live preview has also been added to
show which lines will be filtered out when the min/max
is applied. -
The
-S/--sinceand-U/--untilflags have been
added to limit how much of a log file is indexed.
Sup
lnav v0.14.0
Features:
-
The Filter configuration panel in the TUI now supports
editing the minimum log level and minimum/maximum
times for the current view. Previously, only the
:set-min-log-level,:hide-lines-before, and
:hide-lines-aftercommands could be used to set the
values. Pressinglwill create/set the log level.
Pressingmwill create/set the minimum
time and pressingShift+Mwill create/set the
maximum time. Live preview has also been added to
show which lines will be filtered out when the min/max
is applied. -
The
-S/--sincean
lnav v0.14.0
Features:
-
The Filter configuration panel in the TUI now supports
editing the minimum log level and minimum/maximum
times for the current view. Previously, only the
:set-min-log-level,:hide-lines-before, and
:hide-lines-aftercommands could be used to set the
values. Pressinglwill create/set the log level.
Pressingmwill create/set the minimum
time and pressingShift+Mwill create/set the
maximum time. Live preview has also been added to
show which lines will be filtered out when the min/max
is applied. -
The
-S/--sincean
lnav v0.14.0
Features:
-
The Filter configuration panel in the TUI now supports
editing the minimum log level and minimum/maximum
times for the current view. Previously, only the
:set-min-log-level,:hide-lines-before, and
:hide-lines-aftercommands could be used to set the
values. Pressinglwill create/set the log level.
Pressingmwill create/set the minimum
time and pressingShift+Mwill create/set the
maximum time. Live preview has also been added to
show which lines will be filtered out when the min/max
is applied. -
The
-S/--since
lnav v0.14.0
Features:
-
The Filter configuration panel in the TUI now supports
editing the minimum log level and minimum/maximum
times for the current view. Previously, only the
:set-min-log-level,:hide-lines-before, and
:hide-lines-aftercommands could be used to set the
values. Pressinglwill create/set the log level.
Pressingmwill create/set the minimum
time and pressingShift+Mwill create/set the
maximum time. Live preview has also been added to
show which lines will be filtered out when the min/max
is applied. -
The
-S/--since
lnav v0.13.2
Bug Fixes:
- Some keys were not recognized correctly because the
Kitty keyboard protocol handling was broken at the
last minute. - The TUI no longer opens if a bad file name is passed.
- The abbreviated month
%btime-conversion was not
always falling back to English locale, which could
prevent lnav from starting up. - The top of the LOG view could move in some cases when
filtering was enabled. - Some status bar fields were not always showing
updates.
lnav v0.13.2
Bug Fixes:
- Kitty keyboard handling was broken at the last minute.
- The TUI no longer opens if a bad file name is passed.
- The abbreviated month
%btime-conversion was not
always falling back to English locale, which could
prevent lnav from starting up. - The top of the LOG view could move in some cases when
filtering was enabled. - Some status bar fields were not always showing
updates.
lnav v0.13.1
Features:
- Initial support for Windows. Configuration should be stored
in%APPDATA%. The binary is built using msys2. So, it
depends on msys-2.0.dll being in the same directory. No other
dependencies should be needed. - Removed dependency on ncurses during the build. The terminfo
files are still used during runtime, but fallback terminfo
files for common terminals are included in the binary. - Added the postgres_log format. In addition, you can use
:annotateon a statement error line (e.g. syntax error
at or near "null" at character 522) to attach an annotation
with the statement and a pointer to the location of the error. - Added the mysql_gen_log, mysql_error_log, and mysql_slow_log
formats. There is also amysql_slow_stat
