All Products
Search
Document Center

Simple Log Service:Log fields

Last Updated:Apr 24, 2024

This topic describes the fields of IoT Platform logs.

Parameters

Parameter

Description

requestId

The ID of the request.

time

The time when the log was printed.

utcTime

The time when the log was printed. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.

traceId

The trace ID. You can use the ID to trace the destinations to which the message was forwarded.

messageId

The ID of the message.

instanceId

The ID of the instance.

uid

The ID of the Alibaba Cloud account.

productKey

The ProductKey of the product.

deviceName

The DeviceName of the device.

bizCode

The business type.

operation

The name of the operation, the name of the API operation, the method of the service, or the topic of the message, which corresponds to the business type.

For more information about operation names, see Log fields. For more information about API operation names, see List of operations by function. For more information about service methods and message topics, see Alink protocol.

status

The status of the operation. Valid values:

  • true: The operation is successful.

  • false: The operation failed.

code

The error code returned For more information, see IoT Platform logs.

reason

The cause of the error.

content

The content of the log.

password

The DeviceSecret that you specified when you connected the device.

sourceIp

The IP address of the device.

protocol

The communication protocol. Valid values:

  • mqtt: Message Queuing Telemetry Transport (MQTT)

  • mqtt-over-websocket: MQTT over WebSocket connections

transport

The transmission protocol. Example: TLS 1.2 and TLS 1.3.

clientId

The ID of the client.

authType

The verification method.

size

The size of the message content.

deviceFingerprint

The device fingerprint.

connectionId

The ID of the connection.

params

The details of the message parameters.

resultData

The execution result.

dtInstanceId

The ID of the twin space.