Skip to content

[8.3](backport #31798) [libbeat] Improve syslog parser/processor error handling#32118

Merged
rdner merged 1 commit into8.3from
mergify/bp/8.3/pr-31798
Jun 28, 2022
Merged

[8.3](backport #31798) [libbeat] Improve syslog parser/processor error handling#32118
rdner merged 1 commit into8.3from
mergify/bp/8.3/pr-31798

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jun 27, 2022

This is an automatic backport of pull request #31798 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

- Shifted most of the validation logic to the host language instead of
the Ragel parser. This allows for the message to be fully parsed even if
there are validation errors with one or more fields.
- Errors are accumulated as they occur, any fields that have already been
parsed and validated will be returned, alongside error.message.
- Priority field for RFC 3164 messages are now optional, as some
syslog providers will omit this part of the header (especially when writing to files).
- Structured data fields for RFC 5424 messages are processed in a
second pass. If the structured data format doesn't fit the RFC, it will be
prepended to the message, separated by a space.
- Structured data now uses map[string]interface{}
- Update testify to v1.7.1 dependency for assert.ErrorContains support

(cherry picked from commit cabc8ba)
@mergify mergify bot requested a review from a team as a code owner June 27, 2022 16:28
@mergify mergify bot requested review from kvch and rdner and removed request for a team June 27, 2022 16:28
@mergify mergify bot added the backport label Jun 27, 2022
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 27, 2022
@botelastic
Copy link

botelastic bot commented Jun 27, 2022

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-06-27T16:29:03.529+0000

  • Duration: 215 min 18 sec

Test stats 🧪

Test Results
Failed 0
Passed 22304
Skipped 1931
Total 24235

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

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

@rdner rdner merged commit 0195796 into 8.3 Jun 28, 2022
@rdner rdner deleted the mergify/bp/8.3/pr-31798 branch June 28, 2022 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants