Dumped IoT Platform logs use different formats depending on the business type. Each type uses a specific set of log fields.
Background information
-
For more information, see IoT Platform logs.
-
For more information, see Dump IoT Platform logs.
Format description
|
Business type |
bizCode |
Log format |
|
Device behavior |
device |
|
|
Uplink messages |
uplink |
|
|
Downlink messages |
downlink |
|
|
Subscribe (Subscribe to a topic) |
subscribe |
|
|
Unsubscribe (Unsubscribe from a topic) |
unsubscribe |
|
|
Server-side subscription |
ServerSubscribe |
|
|
Rules engine (data forwarding) |
ruleengine |
|
|
Thing Specification Language model (TSL model data validation, TSL model service invocation, and TSL model messages) |
ThingModel |
|
|
Hot data storage |
HotDataStorage |
|
|
Message parsing |
ScriptParsing |
|
|
API invocation |
ApiService |
|
|
Device shadow |
DeviceShadow |
|
|
OTA update |
OTA |
|
|
Topology |
ThingTopo |
|
|
Remote Configuration |
RemoteConfig |
|
|
Device task |
ThingJob |
|
|
Other |
Other |
|
|
IoT Digital Twin Engine |
DigitalTwin |
|
Parameter descriptions
|
Parameter Name |
Description |
|
requestId |
The request ID of the message. |
|
time |
The time when the log was recorded. |
|
utcTime |
The UTC time when the log was recorded. |
|
traceId |
The trace ID for tracing the message path. |
|
messageId |
The message ID. |
|
instanceId |
The ID of the IoT Platform instance. |
|
uid |
The Alibaba Cloud account ID. |
|
productKey |
The ProductKey. |
|
deviceName |
The DeviceName. |
|
bizCode |
The business type. |
|
operation |
The action, API name, service method, or message topic that corresponds to the business type. For more information about actions, see Fields in IoT Platform logs. For more information about API names, see List of API operations. For more information about service methods and message topics, see Alink protocol. |
|
status |
The status of the operation:
|
|
code |
The error code. For more information, see IoT Platform logs. |
|
reason |
The reason for the error. |
|
content |
The log content. |
|
password |
The password used when the device connects. |
|
sourceIp |
The egress IP address of the client. |
|
protocol |
The communication protocol. Valid values:
|
|
transport |
The transport protocol. Examples: TLSv1.2 and TLSv1.3. |
|
clientId |
The client ID. |
|
authType |
The authentication method. |
|
size |
The message content size. |
|
deviceFingerprint |
The device fingerprint. |
|
connectionId |
The connection ID. |
|
params |
The message parameters. |
|
resultData |
The execution result data. |
|
dtInstanceId |
The ID of the digital twin space. |