Skip to content

[awslogsencodingextension] Consider moving CloudTrail userIdentity element bound non semantic conventional attributes under aws.user_identity prefix #43638

@Kavindu-Dodan

Description

@Kavindu-Dodan

Component(s)

extension/encoding/awslogsencoding

Describe the issue you're reporting

Consider this PR #43584, where we enrich CloudTrail logs with new attributes. Once of the conversations on the PR was on the naming of the attributes - #43584 (comment)

The proposal here is to move CloudTrail logs' userIdentity bound attributes (see official documentation for existing attributes 1), which are not mapped through Semantic Conventions (e.g: userIdentity.userName as user.name) under aws.user_identity. And this is to preserve a hint of the origin of the mentioned log attributes.

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Footnotes

  1. https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-user-identity.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions