Skip to content

[proposal, windowseventlog] Create extended_format config for windowseventlogreceiver xml formatting.#45925

Closed
franciscovalentecastro wants to merge 1 commit into
open-telemetry:mainfrom
franciscovalentecastro:fcovalente-win-extended-xml
Closed

[proposal, windowseventlog] Create extended_format config for windowseventlogreceiver xml formatting.#45925
franciscovalentecastro wants to merge 1 commit into
open-telemetry:mainfrom
franciscovalentecastro:fcovalente-win-extended-xml

Conversation

@franciscovalentecastro
Copy link
Copy Markdown
Contributor

@franciscovalentecastro franciscovalentecastro commented Feb 6, 2026

Description

Fixes 45926.

Proposing a setting called extended_format config for the windowseventlogreceiver to output all the parsed fields from the XML log record in its "close to the original XML". Having the in-built "robust" parsing is helpful to generate any derived format from the parsed fields.

The "main goal" is to provide an "un-opinionated" setting for the "windowseventlogreceiver" since currently some choices are made for parsed "Messages" (e.g. security channel) and which "Rendered" fields are presented.

Alternatives

  • This can be achieved using OTTL ParseSimplifiedXML (or ParseXML) and the "raw: true" setting with different levels of success and robustness :
    • Cons :
      • OTTL has an extensive list of functions, but are missing "robust error handling" (handle parse errors) and "flexible array traversal" (e.g. for loops, etc), so this may not be a fully robust solution.

Context

Link to tracking issue

Fixes

Testing

Documentation

@pjanotti
Copy link
Copy Markdown
Contributor

For now discussing it at the respective issue: #45926.

@pjanotti
Copy link
Copy Markdown
Contributor

Closing per issue discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[proposal, windowseventlog] Create extended_format config for windowseventlogreceiver xml formatting. #45925

2 participants