Commit 70b184f 1 parent cddfad8 commit 70b184f Copy full SHA for 70b184f
File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,12 @@ $ klp -S mylog.logfmt
100
100
$ tail -f mylog.logfmt | klp -n
101
101
```
102
102
103
+ > [ !NOTE]
104
+ > klp defaults to the [ logfmt] ( https://brandur.org/logfmt ) input format and will extract any ` key=value ` patterns it finds,
105
+ > even if the file is in a different format.
106
+ > For non-logfmt logs, specify the format explicitly (e.g. ` -f syslog ` , or ` -f line ` for plain text).
107
+
108
+
103
109
### Basic Usage
104
110
105
111
klp can be used as a filter, reading from stdin:
@@ -114,11 +120,6 @@ Or you can read from a file:
114
120
$ klp log.txt
115
121
```
116
122
117
- > [ !NOTE]
118
- > klp defaults to the [ logfmt] ( https://brandur.org/logfmt ) format and will extract any ` key=value ` patterns it finds,
119
- > even if the file is in a different format.
120
- > For non-logfmt logs, specify the format explicitly (e.g. ` -f syslog ` , or ` -f line ` for plain text).
121
-
122
123
klp can directly process compressed log files:
123
124
124
125
``` bash
You can’t perform that action at this time.
0 commit comments