Uploading device-side logs by using AWS IoT rules - AWS IoT Core
Complete the following procedure to upload device-side logs to Amazon CloudWatch using the AWS IoT CloudWatch Logs rule action.