Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 11, 2025

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

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works. Where relevant, I have used the stresstest.sh script to run them under stress conditions and race detector to verify their stability.
  • I have added an entry in ./changelog/fragments using the changelog tool.

How to test this PR locally

Unit tests are added to test this feature.

go test -run TestParserRFC3164InvalidMonthNumeric ./filebeat/input/syslog
go test -run TestParserRFC3164ShortMessage ./filebeat/input/syslog


This is an automatic backport of pull request #48031 done by [Mergify](https://mergify.com).

… syslog messages (#48031)

* Fix message size and empty year

* fix linter errors

* Fix

(cherry picked from commit 3cc5299)
@mergify mergify bot requested a review from a team as a code owner December 11, 2025 10:10
@mergify mergify bot added the backport label Dec 11, 2025
@mergify mergify bot assigned bhapas Dec 11, 2025
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Dec 11, 2025
@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

Pinging @elastic/integration-experience (Team:Integration-Experience)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Dec 11, 2025
@bhapas bhapas merged commit 6ea75fa into 9.2 Dec 11, 2025
24 checks passed
@bhapas bhapas deleted the mergify/bp/9.2/pr-48031 branch December 11, 2025 13:30
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