{"type":"api","title":"Get Device Crash Logs","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Real-Time Monitoring - Crash Log"],"description":"Get device crash logs from device","operationId":"getDeviceCrashLogs","parameters":[{"name":"deviceId","in":"query","description":"deviceId - Device IP","required":true,"schema":{"pattern":"^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$","type":"string","example":"169.254.10.10"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Device crash logs":{"description":"Device crash logs","value":{"data":[{"core-time":"Tue Feb 15 04:14:38 UTC 2022","vdevice-dataKey":"169.254.10.12-0","vdevice-name":"169.254.10.12","index":0,"lastupdated":1645064726542,"core-filename":"vm5_htx_19219_20220215-041430-UTC.core.gz","core-time-date":1644898478000,"vdevice-host-name":"vm5"},{"core-time":"Tue Feb 15 04:15:24 UTC 2022","vdevice-dataKey":"169.254.10.12-1","vdevice-name":"169.254.10.12","index":1,"lastupdated":1645064726542,"core-filename":"vm5_htx_19539_20220215-041515-UTC.core.gz","core-time-date":1644898524000,"vdevice-host-name":"vm5"},{"core-time":"Tue Feb 15 05:55:04 UTC 2022","vdevice-dataKey":"169.254.10.12-2","vdevice-name":"169.254.10.12","index":2,"lastupdated":1645064726542,"core-filename":"vm5_htx_30530_20220215-055452-UTC.core.gz","core-time-date":1644904504000,"vdevice-host-name":"vm5"},{"core-time":"Tue Feb 15 05:55:50 UTC 2022","vdevice-dataKey":"169.254.10.12-3","vdevice-name":"169.254.10.12","index":3,"lastupdated":1645064726542,"core-filename":"vm5_htx_31380_20220215-055542-UTC.core.gz","core-time-date":1644904550000,"vdevice-host-name":"vm5"},{"core-time":"Tue Feb 15 06:21:52 UTC 2022","vdevice-dataKey":"169.254.10.12-4","vdevice-name":"169.254.10.12","index":4,"lastupdated":1645064726542,"core-filename":"vm5_htx_26426_20220215-062140-UTC.core.gz","core-time-date":1644906112000,"vdevice-host-name":"vm5"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"System-read,System-write,Device Monitoring-read,Device Monitoring-write,Device Reboot-read,Device Reboot-write,Software Upgrade \u003e Edge-write,Software Upgrade \u003e Edge-read,Software Upgrade \u003e Controller-write,Software Upgrade \u003e Controller-read,Software Upgrade-read,Software Upgrade-write,dca","method":"get","path":"/device/crashlog"}}