Sensor Debug Log History
This specifies the debug log history for the specified MAC address. The debug history depends on the system MAC address. This can be accessed from sensor tab–> actions.
JSON Table
Parameter | Data Type | Description |
---|---|---|
sessionId | int | System generated ID to identify sensor debug log session. |
sensorMacaddress | String | 48 bit sensor MAC address. |
userId | int | System generated user ID. |
state | String | Current state of sensor debug log session. Possible values are:
|
startTime | long | Session start time in number of milliseconds. |
endTime | long | Session endtime in number of milliseconds |
fileName | String | System generated sensor debug log filename. |
acknowledged | boolean | Boolean value represents whether sensor debug log results are downloaded previously or not. |
fileSize | long | Sensor debug log file size in bytes |
locationId | application/json | Location information where debug logs are generated. The value is of the type Location ID JSON. |
Copy Sample JSON
Sample JSON
{ "sessionId": 3, "sensorMacaddress": "00:11:74:A3:B0:5F", "userId": 1, "state": "STOPPED", "startTime": 1480071735903, "endTime": 1480071758329, "fileName": "Sensor-logs-00_11_74_A3_B0_5F-20161125110215903761.tgz", "acknowledged": false, "fileSize": 102914, "locationId": { "type": "locallocationid", "id": 0 } }
API Calls
/V5/devices/sensors/debuglogs/history/{macAddress}