diff --git a/CHANGELOG.next.asciidoc b/CHANGELOG.next.asciidoc index aeb7ae3440f..e30c9d1cd88 100644 --- a/CHANGELOG.next.asciidoc +++ b/CHANGELOG.next.asciidoc @@ -116,6 +116,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff] - httpjson input: Add `replaceAll` helper function to template context. {pull}32365[32365] - Optimize grok patterns in system.auth module pipeline. {pull}32360[32360] - Checkpoint module: add authentication operation outcome enrichment. {issue}32230[32230] {pull}32431[32431] +- add documentation for decode_xml_wineventlog processor field mappings. {pull}32456[32456] *Auditbeat* diff --git a/libbeat/processors/decode_xml_wineventlog/docs/decode_xml_wineventlog.asciidoc b/libbeat/processors/decode_xml_wineventlog/docs/decode_xml_wineventlog.asciidoc index 1df47d3f955..1e30d57f698 100644 --- a/libbeat/processors/decode_xml_wineventlog/docs/decode_xml_wineventlog.asciidoc +++ b/libbeat/processors/decode_xml_wineventlog/docs/decode_xml_wineventlog.asciidoc @@ -108,3 +108,58 @@ Will produce the following output: ------------------------------------------------------------------------------- See <> for a list of supported conditions. + +The field mappings are as follows: + +[cols=" | +| winlog.event_id | | +| winlog.provider_name | | `Name` attribute +| winlog.record_id | | +| winlog.task | | +| winlog.computer_name | | +| winlog.keywords | | list of each `Keyword` +| winlog.opcodes | | +| winlog.provider_guid | | `Guid` attribute +| winlog.version | | +| winlog.time_created | | `SystemTime` attribute +| winlog.outcome | | "success" if bit 0x20000000000000 is set, "failure" if 0x10000000000000 is set +| winlog.level | | converted to lowercase +| winlog.message | | line endings removed +| winlog.user.identifier | | +| winlog.user.domain | | +| winlog.user.name | | +| winlog.user.type | | converted from integer to String +| winlog.event_data | | map where `Name` attribute in Data element is key, and value is the value of the Data element +| winlog.user_data | | map where `Name` attribute in Data element is key, and value is the value of the Data element +| winlog.activity_id | | +| winlog.related_activity_id | | +| winlog.kernel_time | | +| winlog.process.pid | | +| winlog.process.thread.id | | +| winlog.processor_id | | +| winlog.processor_time | | +| winlog.session_id | | +| winlog.user_time | | +| winlog.error.code | | +|======================================================== + + +If `map_ecs_fields` is enabled then the following field mappings are also performed: + +[cols=" | `Name` attribute +| event.action | | +| event.host.name | | +| event.outcome | winlog.outcome | +| log.level | winlog.level | +| message | winlog.message | +| error.code | winlog.error.code | +| error.message | winlog.error.message | +|========================================================