Debug-Logs Session
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
JSON Table
Attribute | Data Type | Description |
---|---|---|
previousLink | ||
nextLink | ||
totalCount | ||
deviceDebugLogSessions | ||
deviceDebugLogSessions/sessionId | int | The ID to identify the debug logs session. |
deviceDebugLogSessions/sensorMacaddress | String | |
deviceDebugLogSessions/macaddress | String | The macaddress of the device. |
deviceDebugLogSessions/deviceType | ||
deviceDebugLogSessions/userId | ||
deviceDebugLogSessions/state | enum | The debug log session state. Possible values PENDING, STARTED, STOPPED, FAILED, ABORTED |
deviceDebugLogSessions/startTime | long | Start time in milliseconds. |
deviceDebugLogSessions/endTime | long | End time in milliseconds. |
deviceDebugLogSessions/fileName | String | The debug log bundle file name. |
deviceDebugLogSessions/fileSize | long | Size of the bundle in bytes. |
Copy Sample JSON
Sample JSON
{ "previousLink": null, "nextLink": "https://webapps-parentmwm.airtightnw.com/new/webservice/V6/troubleshoot/devices/debuglogsessions?startindex=1&pagesize=10", "totalCount": 1, "deviceDebugLogSessions": [ { "sessionId": 1, "sensorMacaddress": "88:DC:96:69:E8:71", "macaddress": "88:DC:96:69:E8:71", "deviceType": "SENSOR", "userId": 1, "state": "STOPPED", "startTime": 1547535477459, "endTime": 1547535499341, "fileName": "Sensor-logs-88_DC_96_69_E8_71-20190115065757459266.tgz", "fileSize": 379904 } ] }
API Calls
/V6/troubleshoot/devices/debuglogsessions
/V6/troubleshoot/devices/debuglogsessions/{sessionid}/logs
/V6/troubleshoot/devices/{macaddress}/debuglogsessions
/V6/troubleshoot/devices/debuglogsessions/{sessionid}/logs