Log Management
CloudWatch Logs

CloudWatch Logs Attributes

1min

Use the following attributes to get relevant data from your CloudWatch logs.

Attribute

Description

@functionName

Name of the Lambda function

@version

Lambda function version

@region

Region in which the function is hosted

@accountId

AWS account Id

@requestId

Invocation Id of Lambda

@logGroup

CloudWatch logs group name

@logStream

CloudWatch Log stream name

@type

Type of message in your log:

  • Report - Log line contains REPORT
  • Start - Log line contains START
  • End - Log line contains END

@functionError

Lambda invocation errors, such as:

  • crash (Unhandled error)
  • timeout (Function timed out)
  • early_exit (Runtime exited with error)

@duration

Time taken to execute the Lambda function

@billedDuration

Time for which the Lambda execution is billed

@memorySize

Allocated memory for the Lambda function

@maxMemoryUsed

Total memory used by the Lambda function

@traceid

Trace Id from AWS X-Ray

@segmentid

Trace subsegment Id

@coldStartDuration

Coldstart duration of the Lambda function