Skip to content

Event Logs

This section outlines event logs. Event logs record the history of events reported by the device.

Prerequisites

● A product has been created.
● The product has been developed and debugged.
● An event has been reported by the device.

Steps

Log in to Developer Center, click "Device Management"→ "Device Maintenance” in the left-hand navigation bar to display the list of devices. Find the device whose logs you want to view and click "View" in the Action column to enter the detail page of the device. Then click "Event Logs" tab.

img

Parameters

ParameterDescription
DeviceKeyDevice identifier.
Creation TimeThe time when the event log is stored.
Event TypeDevice Online: An event is recorded each time the device connects to Developer Center. Device Offline: An event is recorded if the device actively disconnects from the Developer Center, or if it does not communicate with Developer Center (including going online, sending uplink data and downlink data) for an extended period of time, in which case Developer Center forces the device to log off. Back Online: An event is recorded when the device registers and accesses Developer Center. It disconnects from Developer Center and then connects again to gets back online. This occurs when a sub-device is connected to different gateways that are dynamically switched. Device Reset: An event is recorded when the device actively restores the factory settings. A new key for device connection is issued, and the topology relationship between the gateway and the sub-device and the binding relationship between the end user and the device are released. Message: Only the messages defined in TSL model are recorded in this event. Alert: Only the alerts defined in TSL model are recorded in this event. Fault: Only the faults defined in TSL model are recorded in this event.
Output ParameterSpecific output parameters are only carried in TSL events.
RemarksInvalid events will not be pushed to AMQP or WebSocket.