6.1 Observability

Observability

To aid in monitoring and troubleshooting, you can enable logs for IoT Core and IoT Analytics that can be viewed in Amazon CloudWatch.

AWS IoT Core

  1. Navigate to the AWS IoT Core console
  2. Click on Settings in the left-hand pane
  3. Under Logs, click on Edit
    • Level of verbosity: Debug (most verbose)
    • Set role: Click Create New
    • Name: <yourname>-iotcoreloggingrole

The 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

AWS IoT Analytics

  1. Navigate to the AWS IoT Analytics console.
  2. Click on Settings in the left-hand pane
  3. Under Logs, click on Edit
    • Level of verbosity: Debug (most verbose)
    • Set role: Click Create New
    • Name: <yourname>-iotanalyticsloggingrole
    • Click Create role
  4. Click on Update

The 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