-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Migrate syslog/v2 to syslog/v3 (adds RFC3164 support to inputs.syslog) (#4593) #8454
Conversation
Is there anything I can do to make this available on the next release ? |
@endersonmaia I've just rebased and things should be good to go, I'm not sure how to get in front of a reviewer |
wow, that's nice, I'll give it a shot and test for real on some of my devices, and give some feedback if something breaks @thepacketgeek I'll ping some contributors here that I have already interacted, hope that's fine /cc @danielnelson , @ssoroka |
Thank you!! |
/cc @sjwang90 |
Thanks @thepacketgeek and @endersonmaia. You both were able to test with the built artifacts? We'll get this reviewed by some of our Telegraf maintainers soon. |
I'm planning to test later this week, and will update here
Em qua, 23 de jun de 2021 15:53, Samantha Wang ***@***.***>
escreveu:
… Thanks @thepacketgeek <https://github.com/thepacketgeek> and @endersonmaia
<https://github.com/endersonmaia>. You both were able to test with the
built artifacts? We'll get this reviewed by some of our Telegraf
maintainers soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8454 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAC4VRMKHG3TD7OQXQLWDTUIURPANCNFSM4T6VDT4Q>
.
|
I just tested it with one of my devices, and it's working just fine! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've taken a quick look at this PR and it LGTM!
@leodido Are there any action items for me to complete, or is this PR just waiting for merge? |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
🔥 |
Add RFC3164 Support for inputs.syslog (#4593)
This PR replaces
go-syslog/v2
usage withgo-syslog/v3
so that theinputs.syslog
plugin can use the new RFC3164 support. Resolves #4593Usage
When defining the inputs, a user will specify the
syslog_standard
option (Either "5424" [default] or "3164"). Thebest_effort
option will also apply when "3164" is used.Notes
I was really hoping that this would let me use telegraf direction for Cisco syslog messages, but from my understanding it seems they have some problems with current go-syslog parsing:
Format:
<PRI>SEQNUM:HOST:MONTHDAY YEARHOUR:MINUTES:SECONDS.MILLISECONDSTIMEZONE:%APPNAME-SEVERITY-MSGID:%TAGS:MESSAGE
Example:
<187>37972: Nov 21 16:53:33.429: %LINK-3-UPDOWN: Interface GigabitEthernet0/8, changed state to down
%APPNAME-SEVERITY-MSGID
format@goller Is handing these messages something that might be in scope for the RFC3164 parser in go-syslog?
Required for all PRs: