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.
Is your feature request related to a problem? Please describe.
There is no way to attach Entity metadata to
PutLogEventsrequests in the CloudWatch Logs sink. This is needed for CloudWatch entity-based correlation features.Describe the solution you'd like
An
entityconfig block withkey_attributesandattributes(both free-formMap<String, String>). When configured, the entity is attached to everyPutLogEventsrequest.
Additional context
Entity rejection by CloudWatch is non-fatal and should be logged as a warning.