Send log lines from the device; they appear in the device Logs page.
| Topic | Direction |
|---|---|
things5-production/v1/devices/{device_id}/logs/ingest_req | Device → Things5 |
things5-production/v1/devices/{device_id}/logs/ingest_res | Things5 → device |
Device → Things5: logs/ingest_req
logs/ingest_reqSend device data to the platform.
things5-production/v1/devices/<device-id>/logs/ingest_req
Payload
{
"request_id": "UUID",
"logs": [
["1667451579000", "foo"],
["1667451580000", "bar"]
]
}
Payload Parameters
| type | desctiption |
|---|---|
| logs | An array of arrays composed by a unix timestamp in milliseconds and the log line |
Things5 → device: logs/ingest_res
logs/ingest_resResponse for log ingestion request
things5-production/v1/devices/<device-id>/logs/ingest_res
Payload
{
"request_id": "UUID",
"errors": [
"error",'
"error"
]
}
Payload Parameters
| type | desctiption |
|---|---|
| errors | A list of errors, if the list is empty the response is successful |
