All Products
Search
Document Center

IoT Platform:Log dump format

Last Updated:Jun 18, 2026

Dumped IoT Platform logs use different formats depending on the business type. Each type uses a specific set of log fields.

Background information

Format description

Business type

bizCode

Log format

Device behavior

device

time||traceId||utcTime||messageId||instanceId||uid||productKey||deviceName||bizCode||operation||status||code||reason||content||requestId||password||sourceIp||protocol||transport||clientId||authType||size||deviceFingerprint

Uplink messages

uplink

time||traceId||utcTime||uid||bizCode||operation||messageId||productKey||deviceName||code||status||reason||content||instanceId||requestId||connectionId||params||resultData

Downlink messages

downlink

Subscribe (Subscribe to a topic)

subscribe

Unsubscribe (Unsubscribe from a topic)

unsubscribe

Server-side subscription

ServerSubscribe

Rules engine (data forwarding)

ruleengine

time||traceId||productKey||deviceName||iotId||uid||messageId||code||reason||status||params||resultData||bizCode||operation||tenantId||content||requestId||instanceId||utcTime||dtInstanceId

Thing Specification Language model (TSL model data validation, TSL model service invocation, and TSL model messages)

ThingModel

time||tenantId||traceId||instanceId||bizCode||operation||productKey||deviceName||iotId||status||code||messageId||reason||params||resultData||uid||utcTime||bizType||requestId

Hot data storage

HotDataStorage

Message parsing

ScriptParsing

API invocation

ApiService

time||traceId||requestId||uid||tenantId||instanceId||productKey||deviceName||iotId||messageId||code||status||reason||bizCode||operation||params||resultData||utcTime

Device shadow

DeviceShadow

time||traceId||utcTime||uid||bizCode||operation||messageId||productKey||deviceName||code||reason||content||instanceId||status||requestId||connectionId

OTA update

OTA

time||tenantId||traceId||instanceId||bizCode||operation||productKey||deviceName||iotId||status||code||messageId||reason||params||resultData||uid||utcTime

Topology

ThingTopo

Remote Configuration

RemoteConfig

Device task

ThingJob

Other

Other

IoT Digital Twin Engine

DigitalTwin

time||tenantId||traceId||instanceId||bizCode||operation||productKey||deviceName||iotId||status||code||messageId||reason||params||resultData||uid||utcTime||dtInstanceId

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:

  • true: The operation was successful.

  • false: The operation failed.

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:

  • mqtt: Message Queuing Telemetry Transport (MQTT) protocol.

  • mqtt-over-websocket: MQTT over WebSocket.

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.