Skip to content
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

Non-transparent transport of syslog messages #5148

Merged
merged 11 commits into from
Dec 18, 2018

Conversation

leodido
Copy link
Contributor

@leodido leodido commented Dec 14, 2018

This PR implements the non-transparent transport of syslog messages for the syslog input plugin. Refs #4482

It depends on an upcoming new go-syslog version influxdata/go-syslog#18 soon to be released.

Needs some testing yet.

Please do not merge yet.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@leodido leodido self-assigned this Dec 14, 2018
Modify syslog input plugin to support non-transparent framing technique
(RFC6587), too.
Modify other existing modalities to match new go-syslog interfaces.

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
RFC5425 tests need to be updated accordingly.

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
1 test case, all combinations.

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@danielnelson danielnelson added this to the 1.9.2 milestone Dec 17, 2018
Copy link
Contributor

@goller goller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see telegraf pinned to a release of go-syslog rather than a branch.

Also, you mentioned to me that there are possible bugs in the last message. Would you add some detail about that?

Gopkg.toml Outdated Show resolved Hide resolved
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@danielnelson danielnelson merged commit 697381d into master Dec 18, 2018
@danielnelson danielnelson deleted the feature/non-transparent-syslog branch December 18, 2018 18:54
danielnelson pushed a commit that referenced this pull request Dec 18, 2018
trevorwhitney pushed a commit to trevorwhitney/telegraf that referenced this pull request Feb 14, 2019
otherpirate pushed a commit to otherpirate/telegraf that referenced this pull request Mar 15, 2019
otherpirate pushed a commit to otherpirate/telegraf that referenced this pull request Mar 15, 2019
dupondje pushed a commit to dupondje/telegraf that referenced this pull request Apr 22, 2019
bitcharmer pushed a commit to bitcharmer/telegraf that referenced this pull request Oct 18, 2019
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants