AWS offers a variety of methods for monitoring both your IoT devices, as well as the IoT service and its calls. To get things started, let's first look at the simple device monitoring functionality provided by the AWS IoT dashboard itself. On the AWS IoT console page, select the Monitor option. Here, you can view a variety of graphs and data, such as the number of successful connections made to the AWS IoT service over the past hour, day, or week. You can even check the number of messages that were transmitted using either the MQTT or the HTTP protocol, as shown in the following screenshot:
You can also use the Monitor page to view the number of messages published, rules executed, and shadow updates performed.
In addition to this, you also have an option to enable logging for your AWS IoT service. To do so...