Skip to content

Support Entity attributes in CloudWatch Logs sink #6860

@bagmarnikhil

Description

@bagmarnikhil

Is your feature request related to a problem? Please describe.

There is no way to attach Entity metadata to PutLogEvents requests in the CloudWatch Logs sink. This is needed for CloudWatch entity-based correlation features.

Describe the solution you'd like

An entity config block with key_attributes and attributes (both free-form Map<String, String>). When configured, the entity is attached to every PutLogEvents
request.

sink:
  - cloudwatch_logs:
      log_group: /my/service/logs
      log_stream: my-stream
      entity:
        key_attributes:
          Type: "RemoteService"
          Name: "okta_auth0"
        attributes:
          AWS.ServiceNameSource: "UserConfiguration"

Additional context

Entity rejection by CloudWatch is non-fatal and should be logged as a warning.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status

In review

Relationships

None yet

Development

No branches or pull requests

Issue actions