Skip to content

Commit 3d017c5

Browse files
committed
Fix message length
RFC-6587 defines the syslog frame as: ``` SYSLOG-FRAME = MSG-LEN SP SYSLOG-MSG ``` Thus the `MSG-LEN` should not include the space. Signed-off-by: Jorge Maroto <jmaroto@gmail.com>
1 parent e789f6b commit 3d017c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/input/syslog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Messages are delimited by newline(`\n`)
157157

158158
Message has message size prefix to delimite
159159

160-
44 <6>Sep 10 00:00:00 localhost logger: hello!
160+
43 <6>Sep 10 00:00:00 localhost logger: hello!
161161

162162
See also [rfc6587](https://tools.ietf.org/html/rfc6587#section-3.4).
163163

0 commit comments

Comments
 (0)