-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in_syslog support for RFC5424 Octet Counting / MSG-LEN header for tcp connections #1679
Comments
Does this Octet-Counting information relate to multi-line messages? |
There's another discussion about that integer: Graylog2/graylog2-server#159 |
Is this format supported by only syslog-ng? |
Not sure which systems support that format. We are using syslog-ng exclusively in our infrastructure. It's main benefit might be to have multiple messages being sent over a single TCP connection without relying on "newlines" as message delimiter; hence allowing multi-line messages to be sent as stream. |
Yeah, using Octet Counting seems better than Patches are welcome :) |
@guedressel how did you solve this issue? I resolved this issue for myself by using network driver in syslog-ng: P.S.: for anyone bumping this issue |
We've investigated switching from rsyslog to fluentd, |
I'm working on draining logs from heroku to fluentd. Just discovered that Heroku frames all log messages according to syslog TCP protocol octet counting framing method. Examples (see "HTTPS Drains"):
Would love to see support for this from fluentd. |
Patch is here: #2147 |
in_syslog: Support octet counting frame. fix #1679
While testing the in_syslog plugin to receive syslog messages generated by syslog-ng via a TCP connection I stuck with "that stupid integer at beginning of each message".
Example log message
After some reading I discovered that the leading integer is described here: https://tools.ietf.org/id/draft-gerhards-syslog-plain-tcp-12.html#rfc.section.3.4.1
What do you think about adding this (optional?) detail to the syslog parser?
The text was updated successfully, but these errors were encountered: