File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,11 @@ left-hand side help to show which file a message belongs to.
19
19
## Automatic Log Format Detection
20
20
21
21
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 ) :
23
23
24
24
* Common Web Access Log format
25
+ * W3C Extended Log File Format
26
+ * logfmt
25
27
* CUPS page_log
26
28
* Syslog
27
29
* Glog
@@ -32,6 +34,10 @@ files. The following formats are built in by default:
32
34
* Strace
33
35
* sudo
34
36
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
+
35
41
GZIP'ed and BZIP2'ed files are also detected automatically and decompressed on-the-fly.
36
42
37
43
## Filters
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ supported:
28
28
self-describing, so **lnav ** will read the header to determine the shape of
29
29
the file.
30
30
* 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 >`_
32
32
is supported in lnav versions v0.10.0+. The W3C log format is
33
33
self-describing, so **lnav ** will read the header to determine the shape of
34
34
the file.
You can’t perform that action at this time.
0 commit comments