[winlogbeat] Fix forwarded event handling and add channel error resilience#46190
Merged
marc-gr merged 10 commits intoelastic:mainfrom Sep 3, 2025
Merged
[winlogbeat] Fix forwarded event handling and add channel error resilience#46190marc-gr merged 10 commits intoelastic:mainfrom
marc-gr merged 10 commits intoelastic:mainfrom
Conversation
Contributor
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
c4a5b0a to
50c3cf6
Compare
Contributor
|
Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform) |
50c3cf6 to
4a7fe8a
Compare
Contributor
vishaangelova
approved these changes
Aug 26, 2025
Contributor
vishaangelova
left a comment
There was a problem hiding this comment.
LGTM for the doc changes
PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
nfritts
approved these changes
Aug 26, 2025
AndersonQ
previously approved these changes
Aug 28, 2025
Member
AndersonQ
left a comment
There was a problem hiding this comment.
Looks good, I'll wait the tests pass to approve it.
Contributor
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
VihasMakwana
approved these changes
Sep 3, 2025
nfritts
approved these changes
Sep 3, 2025
Contributor
|
@Mergifyio backport 8.17 8.18 8.19 9.0 9.1 |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373) # Conflicts: # docs/reference/filebeat/filebeat-input-winlog.md # docs/reference/winlogbeat/configuration-winlogbeat-options.md # docs/reference/winlogbeat/winlogbeat-reference-yml.md # winlogbeat/eventlog/config.go # winlogbeat/eventlog/runner.go # winlogbeat/eventlog/wineventlog.go # winlogbeat/sys/wineventlog/renderer.go # winlogbeat/sys/wineventlog/renderer_test.go # x-pack/filebeat/tests/integration/windows/inputs_windows_test.go
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373) # Conflicts: # docs/reference/filebeat/filebeat-input-winlog.md # docs/reference/winlogbeat/configuration-winlogbeat-options.md # docs/reference/winlogbeat/winlogbeat-reference-yml.md # winlogbeat/eventlog/config.go # winlogbeat/eventlog/wineventlog.go # winlogbeat/sys/wineventlog/renderer.go # x-pack/filebeat/tests/integration/windows/inputs_windows_test.go
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373) # Conflicts: # docs/reference/filebeat/filebeat-input-winlog.md # docs/reference/winlogbeat/configuration-winlogbeat-options.md # docs/reference/winlogbeat/winlogbeat-reference-yml.md # winlogbeat/eventlog/config.go # winlogbeat/eventlog/wineventlog.go # winlogbeat/sys/wineventlog/renderer.go
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373) # Conflicts: # winlogbeat/eventlog/wineventlog.go
6 tasks
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373)
6 tasks
Contributor
|
Does Filebeat have the same/similar issue and if so, does this correct it? |
Contributor
Author
this corrects both winlogbeat and the winlog input in filebeat |
marc-gr
added a commit
that referenced
this pull request
Sep 3, 2025
…add channel error resilience (#46368) * [winlogbeat] Fix forwarded event handling and add channel error resilience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373) * Update CHANGELOG for Winlogbeat fixes Removed outdated entries and added new fixes for Winlogbeat. * Change minimum stack version for ignore_missing_channel Update the minimum supported stack version for ignore_missing_channel option. * Change minimum stack version for ignore_missing_channel Update the minimum supported stack version for the ignore_missing_channel option. --------- Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
Contributor
|
Awesome, thank you! |
marc-gr
added a commit
that referenced
this pull request
Sep 4, 2025
…add channel error resilience (#46367) * [winlogbeat] Fix forwarded event handling and add channel error resilience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373) # Conflicts: # winlogbeat/eventlog/wineventlog.go * Resolve conflict * Fix changelog and docs --------- Co-authored-by: Marc Guasch <marc-gr@users.noreply.github.com> Co-authored-by: Marc Guasch <marc.guasch@elastic.co>
marc-gr
added a commit
that referenced
this pull request
Sep 5, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373)
marc-gr
added a commit
that referenced
this pull request
Sep 5, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373)
marc-gr
added a commit
that referenced
this pull request
Sep 5, 2025
…ience (#46190) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com> (cherry picked from commit abcb373)
marc-gr
added a commit
that referenced
this pull request
Sep 5, 2025
…ience (#46190) (#46366) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- (cherry picked from commit abcb373) Co-authored-by: Marc Guasch <marc.guasch@elastic.co> Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
marc-gr
added a commit
that referenced
this pull request
Sep 5, 2025
…ience (#46190) (#46365) * Use XMLRenderer for forwarded events * Include new IgnoreMissingChannel option * Default to true and add test * Update CHANGELOG.next.asciidoc PR feedback * Run mage update * Add mustIgnoreError to all platforms * Show example with non default value --------- (cherry picked from commit abcb373) Co-authored-by: Marc Guasch <marc.guasch@elastic.co> Co-authored-by: Nick Fritts <56593026+nfritts@users.noreply.github.com> Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
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
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.
Proposed commit message
Introduces two key fixes to Winlogbeat for better handling of Windows Event Log scenarios:
Use XMLRenderer for forwarded events
Add ignore_missing_channel configuration option
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Even if this is adding a new option is to be able to prevent elastic-agent to show as degraded in scenarios where before it was not, so we will backport this also