Monitor Amazon IoT alarms and metrics using Amazon CloudWatch - Amazon IoT Core
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Monitor Amazon IoT alarms and metrics using Amazon CloudWatch

You can monitor Amazon IoT using CloudWatch, which collects and processes raw data from Amazon IoT into readable, near real-time metrics. These statistics are recorded for a period of two weeks, so that you can access historical information and gain a better perspective on how your web application or service is performing. By default, Amazon IoT metric data is sent automatically to CloudWatch in one minute intervals. For more information, see What Are Amazon CloudWatch, Amazon CloudWatch Events, and Amazon CloudWatch Logs? in the Amazon CloudWatch User Guide.

Using Amazon IoT metrics

The metrics reported by Amazon IoT provide information that you can analyze in different ways. The following use cases are based on a scenario where you have ten things that connect to the internet once a day. Each day:

  • Ten things connect to Amazon IoT at roughly the same time.

  • Each thing subscribes to a topic filter, and then waits for an hour before disconnecting. During this period, things communicate with one another and learn more about the state of the world.

  • Each thing publishes some perception it has based on its newly found data using UpdateThingShadow.

  • Each thing disconnects from Amazon IoT.

To help you get started, these topics explore some of the questions that you might have.