Understanding AWS IoT FleetWise log file entries - AWS IoT FleetWise

Understanding AWS IoT FleetWise log file entries

AWS IoT FleetWise is in preview release and is subject to change. We recommend that you use the service only with test data, and not in production environments.

While AWS IoT FleetWise is in preview, you must download the preview AWS SDK and AWS CLI to use the API operations for this service. These API operations aren't available in the public AWS SDK or AWS CLI. For more information, see Preview AWS CLI and AWS SDKs.

A trail is a configuration that enables delivery of events as log files to an Amazon S3 bucket that you specify. CloudTrail log files contain one or more log entries. An event represents a single request from any source and includes information about the requested action, the date and time of the action, request parameters, and so on. CloudTrail log files aren't an ordered stack trace of the public API calls, so they don't appear in any specific order.

The following example shows a CloudTrail log entry that demonstrates the AssociateVehicle action.

{ "eventVersion": "1.05", "userIdentity": { "type": "AssumedRole", "principalId": "AIDACKCEVSQ6C2EXAMPLE", "arn": "arn:aws:iam::111122223333:assumed-role/NikkiWolf", "accountId": "111122223333", "accessKeyId": "access-key-id", "userName": "NikkiWolf" }, "eventTime": "2021-11-30T09:56:35Z", "eventSource": "iotfleetwise.amazonaws.com", "eventName": "AssociateVehicle", "awsRegion": "us-east-1", "sourceIPAddress": "192.0.2.21", "userAgent": "aws-cli/2.3.2 Python/3.8.8 Darwin/18.7.0 botocore/2.0.0", "requestParameters": { "fleetId": "f1234567890", "vehicleId": "v0213456789" }, "responseElements": { }, "requestID": "9f861429-11e3-11e8-9eea-0781b5c0ac21", "eventID": "17385819-4927-41ee-a6a5-29ml0br812v4", "eventType": "AwsApiCall", "recipientAccountId": "111122223333" }