The cloud log module of IoT Hub provides a comprehensive, stable, and reliable log service that logs information in multiple dimensions such as device behavior, message content, and device exception. You can search for key device logs by time, log type, result, device name, RequestID
, and keyword to identify and troubleshoot business issues easily.
Running logs are divided into behavior logs, content logs, and device logs. You can search for logs by time and keyword.
You can search for logs of all communication behaviors between a device and the cloud, including device connection, disconnection, publishing, and subscribing.
You can search for detailed logs of communication content between a device and the cloud.
Device logs display device information at four levels: ERROR, WARN, INFO, and DEBUG. You can enable/configure device log collection on the device details page.
A cloud log loads 100 data entries each time. You can click Load more at the bottom of the page to view more log information.
By configuring CLS, you can dump cloud log data to CLS for permanent storage and log analysis.
Note:Access to the following services requires authorization and fees may be incurred.
During the initial configuration, click Configure > Authorize to enter the role page in CAM and click Authorize.
Was this page helpful?