Skip to main content

ConnectorLog

Object

One log line a Connector wrote for its users.

type ConnectorLog {
level: ConnectorLogLevel
message: String
metadata: [ConnectorLogMetadataEntry]
timestamp: DateTime
}

Fields​

FieldTypeDescription
levelConnectorLogLevelThe log's level.
messageStringThe log's text.
metadata[ConnectorLogMetadataEntry]Structured context the Connector attached to the log (a device id, a request id), as key and value pairs. Searchable with filter.metadata, or with key:value in filter.query.
timestampDateTimeThe time the Connector gave the log, to the millisecond. Connectors that send their logs through the connector SDK or the connector runtime kit add each log's position in the batch they send, in milliseconds, so a log can show up to about half a second after it was written.

Used by​