AWS CloudTrail
User Guide (Version 1.0)

CloudTrail Event Reference

A CloudTrail log is a record in JSON format that contains information about requests for resources in your account such as who made the request, the services used, the actions performed, and parameters for the action. The event data is enclosed in a Records array.

The following example shows a single log record at the beginning of a log file. The entry shows that an IAM user named Alice called the CloudTrail StartLogging API from the CloudTrail console to start the logging process.

{ "Records": [{ "eventVersion": "1.01", "userIdentity": { "type": "IAMUser", "principalId": "AIDAJDPLRKLG7UEXAMPLE", "arn": "arn:aws:iam::123456789012:user/Alice", "accountId": "123456789012", "accessKeyId": "AKIAIOSFODNN7EXAMPLE", "userName": "Alice", "sessionContext": { "attributes": { "mfaAuthenticated": "false", "creationDate": "2014-03-18T14:29:23Z" } } }, "eventTime": "2014-03-18T14:30:07Z", "eventSource": "", "eventName": "StartLogging", "awsRegion": "us-west-2", "sourceIPAddress": "", "userAgent": "", "requestParameters": { "name": "Default" }, "responseElements": null, "requestID": "cdc73f9d-aea9-11e3-9d5a-835b769c0d9c", "eventID": "3074414d-c626-42aa-984b-68ff152d6ab7" }, ... additional entries ... ]

The following topics list the data fields that CloudTrail captures for each AWS API call and sign-in event.