Monitoring and logging for AWS IoT Core for LoRaWAN - AWS IoT Core

Monitoring and logging for AWS IoT Core for LoRaWAN

You can monitor your AWS IoT Core for LoRaWAN resources and applications that run in real time by using Amazon CloudWatch. Use CloudWatch to collect and track metrics, which are variables that you can measure for your resources and applications. For more information about the benefits of using monitoring, see Monitoring AWS IoT.

How to monitor your AWS IoT Core for LoRaWAN resources

To log and monitor your wireless resources, perform the following steps.

  1. Create a logging role to log your AWS IoT Core for LoRaWAN resources, as described in Create logging role and policy for AWS IoT Core for LoRaWAN.

  2. Log messages in the CloudWatch Logs console have a default log level of ERROR, which is less verbose and contains only error information. If you want to view more verbose messages, we recommend that you use the CLI to configure logging first, as described in Configure logging for AWS IoT Core for LoRaWAN resources.

  3. Next, you can monitor your resources by viewing the log entries in the CloudWatch Logs console. For more information, see View CloudWatch AWS IoT Core for LoRaWAN log entries.

  4. You can create filter expressions by using Logs groups but we recommend that you first create simple filters and view log entries in the log groups, and then go to CloudWatch Insights to create queries to filter the log entries depending on the resource or event you're monitoring. For more information, see Use CloudWatch Insights to filter logs for AWS IoT Core for LoRaWAN.

The following topics show how to configure logging for AWS IoT Core for LoRaWAN and to collect metrics from CloudWatch. In addition to LoRaWAN devices, you can use these topics to configure logging for any Sidewalk devices that you've added to your account and monitor them. For information about how to add these devices, see Amazon Sidewalk Integration for AWS IoT Core.