Skip to content

Commit 8d17561

Browse files
committed
[docs] mention logfmt in the features page
1 parent 3e7a75c commit 8d17561

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/03_features.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ left-hand side help to show which file a message belongs to.
1919
## Automatic Log Format Detection
2020

2121
The log message format is automatically determined by lnav while scanning your
22-
files. The following formats are built in by default:
22+
files. The following are some of the [formats that are built in by default](https://docs.lnav.org/en/latest/formats.html):
2323

2424
* Common Web Access Log format
25+
* W3C Extended Log File Format
26+
* logfmt
2527
* CUPS page_log
2628
* Syslog
2729
* Glog
@@ -32,6 +34,10 @@ files. The following formats are built in by default:
3234
* Strace
3335
* sudo
3436

37+
If your log file format is JSON-lines or can be matched by a PCRE regular
38+
expression, you can define your own format in a
39+
[JSON file](https://docs.lnav.org/en/latest/formats.html#defining-a-new-format).
40+
3541
GZIP'ed and BZIP2'ed files are also detected automatically and decompressed on-the-fly.
3642

3743
## Filters

docs/source/formats.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ supported:
2828
self-describing, so **lnav** will read the header to determine the shape of
2929
the file.
3030
* The
31-
`W3C Extend Log File Format <https://www.w3.org/TR/WD-logfile.html>`_
31+
`W3C Extended Log File Format <https://www.w3.org/TR/WD-logfile.html>`_
3232
is supported in lnav versions v0.10.0+. The W3C log format is
3333
self-describing, so **lnav** will read the header to determine the shape of
3434
the file.

0 commit comments

Comments
 (0)