To aid in monitoring and troubleshooting, you can enable logs for IoT Core and IoT Analytics that can be viewed in Amazon CloudWatch.
<yourname>-iotcoreloggingroleThe log files from AWS IoT are send to Amazon CloudWatch. The AWS console can be used to look at these logs.
For additional troubleshooting, refer to here IoT Core Troubleshooting
<yourname>-iotanalyticsloggingroleThe log files from AWS IoT Analytics will be send to Amazon CloudWatch. The AWS console can be used to look at these logs.
For additional troubleshooting, refer to here IoT Analytics Troubleshooting