Skip to content

[9.4](backport #52094) [winlogbeat] Honor configured event language#52111

Merged
marc-gr merged 1 commit into
9.4from
mergify/bp/9.4/pr-52094
Jul 21, 2026
Merged

[9.4](backport #52094) [winlogbeat] Honor configured event language#52111
marc-gr merged 1 commit into
9.4from
mergify/bp/9.4/pr-52094

Conversation

@mergify

@mergify mergify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

Pass the configured locale to EvtOpenPublisherMetadata so Windows events render in the requested language.

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
  • I have added an entry in ./changelog/fragments

Disruptive User Impact

None.

How to test this PR locally

  • GOOS=windows GOARCH=amd64 go test -c -o /tmp/wineventlog.test.exe ./winlogbeat/sys/wineventlog
  • On a non-English Windows host, configure language: 1033 and confirm messages render in English.

Related issues

Pass the configured locale to Windows publisher metadata loading so event messages render in the requested language.

Assisted-By: Cursor
(cherry picked from commit 77dba59)
@mergify
mergify Bot requested a review from a team as a code owner July 20, 2026 19:20
@mergify mergify Bot added the backport label Jul 20, 2026
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • /test : Run the Buildkite pipeline.

@github-actions github-actions Bot added bug Winlogbeat bugfix Team:Security-Windows Platform Windows Platform Team in Security Solution labels Jul 20, 2026
@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 20, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform)

@marc-gr
marc-gr merged commit 15df194 into 9.4 Jul 21, 2026
40 of 41 checks passed
@marc-gr
marc-gr deleted the mergify/bp/9.4/pr-52094 branch July 21, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant