-
Notifications
You must be signed in to change notification settings - Fork 5k
filebeat: Fix scenarios for short message and invalid month number in syslog messages #48031
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
Merged
Conversation
This file contains hidden or 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
Contributor
🤖 GitHub commentsJust comment with:
|
Contributor
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
89e8608 to
cb298c5
Compare
Contributor
|
Pinging @elastic/integration-experience (Team:Integration-Experience) |
jrmolin
reviewed
Dec 10, 2025
jrmolin
approved these changes
Dec 10, 2025
efd6
reviewed
Dec 11, 2025
P1llus
approved these changes
Dec 11, 2025
efd6
approved these changes
Dec 11, 2025
Contributor
|
@Mergifyio backport 8.19 9.1 9.2 |
Contributor
✅ Backports have been createdDetails
|
6 tasks
bhapas
added a commit
that referenced
this pull request
Dec 11, 2025
… syslog messages (#48031) (#48036) * Fix message size and empty year * fix linter errors * Fix (cherry picked from commit 3cc5299) Co-authored-by: Bharat Pasupula <[email protected]>
bhapas
added a commit
that referenced
this pull request
Dec 11, 2025
… syslog messages (#48031) (#48037) * Fix message size and empty year * fix linter errors * Fix (cherry picked from commit 3cc5299) Co-authored-by: Bharat Pasupula <[email protected]>
bhapas
added a commit
that referenced
this pull request
Dec 11, 2025
… syslog messages (#48031) (#48038) * Fix message size and empty year * fix linter errors * Fix (cherry picked from commit 3cc5299) Co-authored-by: Bharat Pasupula <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-active-all
Automated backport with mergify to all the active branches
bug
skip-changelog
Team:Integration-Experience
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.
Proposed commit message
The syslog messages , if they do not contain a month or contain an invalid month number and if they contain short message than 3 characters , the input errors out.
This PR fixes this error.
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.How to test this PR locally
Unit tests are added to test this feature.
go test -run TestParserRFC3164InvalidMonthNumeric ./filebeat/input/sysloggo test -run TestParserRFC3164ShortMessage ./filebeat/input/syslog