tencent cloud

Feedback

Cloud Logs

Last updated: 2022-11-16 18:27:47

    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.

    Directions

    1. Log in to the IoT Hub console and click View details on the upper right of the Overview module.
    2. Click Products on the left sidebar to enter the Products page.
    3. Click the name of the target product to enter the product details page.
    4. Click Cloud logs to enter the log management page.

    Running Logs

    Running logs are divided into behavior logs, content logs, and device logs. You can search for logs by time and keyword.

    • Search by time
      You can select the time range during which to view logs on the time panel, including the last 15 minutes, last 60 minutes, last 4 hours, last 24 hours, and a custom time range. Cloud logs can be stored for up to 7 days.
    • Search by keyword
      In the log search box, you can filter the logs to be queried. When you need to filter target logs by multiple conditions, you can press Enter to separate different tags.

    Behavior logs

    You can search for logs of all communication behaviors between a device and the cloud, including device connection, disconnection, publishing, and subscribing.

    Content logs

    You can search for detailed logs of communication content between a device and the cloud.

    Device logs

    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.

    Loading more

    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.

    Log Dump

    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.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support