AWS Logs¶
NOTICE Semantic Conventions are moving to a new location.
No changes to this document are allowed.
Status: Experimental
Type: aws.log
Description: Log attributes for Amazon Web Services.
Attribute | Type | Description | Examples | Requirement Level |
---|---|---|---|---|
aws.log.group.names |
string[] | The name(s) of the AWS log group(s) an application is writing to. [1] | [/aws/lambda/my-function, opentelemetry-service] |
Recommended |
aws.log.group.arns |
string[] | The Amazon Resource Name(s) (ARN) of the AWS log group(s). [2] | [arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*] |
Recommended |
aws.log.stream.names |
string[] | The name(s) of the AWS log stream(s) an application is writing to. | [logs/main/10838bed-421f-43ef-870a-f43feacbbb5b] |
Recommended |
aws.log.stream.arns |
string[] | The ARN(s) of the AWS log stream(s). [3] | [arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b] |
Recommended |
[1]: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
[2]: See the log group ARN format documentation.
[3]: See the log stream ARN format documentation. One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.