-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: support many RFC3164 old formats (OpenBSD, IQTS-IP200, Synology NAS, Unifi UAP and UGP) #13
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OpenBSD like many other hardware sends syslog messages without hostname, here I added support of such messages. Co-authored-by: Leonardo Di Donato <[email protected]>
Some old syslog may add LF between two messages, outside of counters.
It is qutie confusing when it parses a message but returns error as well, that it was mallforemd. So, I've used the best effort flag as the way to decide. When it true, it gnores all errors, but when it false it ignores the message.
both nontransparent and octetcounting use RFC5424 which isn't used by many devices, i.e. OpenWrt or Ubiquiti routers. Add a new function called NewParserRFC3164 to both. Signed-off-by: Paul Spooren <[email protected]> Co-authored-by: Leonardo Di Donato <[email protected]>
Unifi thinks that it can be up to 48 characters, tolerate it. Co-authored-by: Leonardo Di Donato <[email protected]>
Co-authored-by: Leonardo Di Donato <[email protected]>
leodido
changed the title
feat: RFC3164 OpenBSD
feat: support many RFC3164 old formats (OpenBSD, IQTS-IP200, Synology NAS, Unifi UAP and UGP)
May 20, 2024
Amazing thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rebase/revamp from #2
Thanks to @catap and all the authors @aparcar @z3bra @tosuke 👏