This topic describes the fields of IoT Platform logs.
Log field | Description |
---|---|
__topic__ | The topic of a log. Valid value: iot_log. |
bizCode | The type of business. |
code | The status code of a request.
|
content | The content of a log. |
deviceName | The name of the device that is connected to IoT Platform. |
instanceId | The ID of an instance. |
messageId | The ID of a message. |
operation | The operation that is performed by a device. Operations can be divided into the following
types:
|
productKey | The key of a product.
All products share a Logstore. The ProductKey field is used to identify products. |
reason | The error cause. |
requestId | The ID of a request. |
status | The result of a request.
|
utcTime | The collection time. The time is in UTC. |
traceId | The trace ID of a request. |
clientId | The ID of the client reported to the device. |
params | The input parameters. |
resultData | The result of a request. |