-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[winlogbeat] message ids not expanded in individual fields #40386
Comments
Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform) |
does this concerns events originating from localhost or forwarded events? In the latter case, winlogbeat doesn't attempt doing any substitutions on it's own as the resource dlls most likely are not present on the WEC server. Forwarded events are just trivially converted from xml to json. |
I suspect both - but have not confirmed. For System events the resource dll will be on the WEC server - so we could make a best effort attempt. beats/winlogbeat/sys/wineventlog/renderer.go Lines 121 to 126 in 23bbe8c
|
Is this always true? We could do a best effort as you mention and stop trying if it fails. |
If it wasn't true then our During |
Oh I think I misunderstood when you meant System as System events even if they were forwarded. My bad. |
Windows Event logs can include localised strings. To achieve this the raw event includes message ids that need to be looked up in localisation message tables.
Currently winlogbeat does this localisation for the
message
field, but not for the original individual fields.Extracts showing the behaviour here -
The message id can be resolved using
kernel32!FormatMessage
.The text was updated successfully, but these errors were encountered: