Device Logs
Device logs gives all the information about the devices based on certain criteria. It gives us the device id for device log entry, MAC address for which the log is generated, device log type, log category like SYSTEM, NETWORK, RADIO etc., Log level which will have values like CRITICAL, ALERT, ERROR, INFO, and DEBUG with device event log description.
JSON Table
Parameter | Data Type | Description |
---|---|---|
id | int | ID for the device log entry. |
deviceMac | String | MAC address of the device for which the log is generated. |
typeId | int | Device log type. |
category | String | Log category. Possible values are SYSTEM, NETWORK, RADIO, etc. |
level | String | Log level. Applicable values are CRITICAL, ALERT, ERROR, INFO, and DEBUG. |
creationDate | Long | Log entry creation time in milliseconds. (UTC format) |
description | String | Device event log description. |
Copy Sample JSON
Sample JSON
{ "deviceLogs": [ { "id": 180, "deviceMac": "00:11:74:86:28:7F", "typeId": 3, "category": "SYSTEM", "level": "INFO", "creationDate": 1477566002626, "description": "AP rebooted with reason: Reboot command recieved from server." }, { "id": 181, "deviceMac": "00:11:74:86:28:7F", "typeId": 9, "category": "NETWORK", "level": "ALERT", "creationDate": 1477566002626, "description": "DHCP Lease expired for VLAN 1$s with IPv4." } ] }
API Calls
/V5/devicelogs
/V5/devicelogs/groupby
/V5/devices/sensors/debuglogs/{sessionId}