[proposal, windowseventlog] Create extended_format config for windowseventlogreceiver xml formatting.#45925
Closed
franciscovalentecastro wants to merge 1 commit into
Conversation
Contributor
|
For now discussing it at the respective issue: #45926. |
Contributor
|
Closing per issue discussion |
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.
Description
Fixes 45926.
Proposing a setting called
extended_formatconfig for thewindowseventlogreceiverto 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
ParseXML) and the "raw: true" setting with different levels of success and robustness :Context
Message,EventCategoryandEventTypeinwindows_event_log_v1. GoogleCloudPlatform/ops-agent#2198Link to tracking issue
Fixes
Testing
Documentation