uploadSiteDeviceSupport
POST https://{{host}}/api/v1/sites/:site_id/devices/:device_id/support
Support / Upload device support files
Params
Name | Type | Description |
---|---|---|
info | string | optional: process , outbound-ssh , messages , and full (default) |
num_messages_files | int | optional: number of most recent messages files to upload, default is 1, max is 10 |
node | string | optional: for SSR, if node is not present, both nodes support files are uploaded |
info
Parameter Description
Name | Description |
---|---|
process | Upload 1 file with output of show system processes extensive |
outbound-ssh | Upload 1 file that concatenates all /var/log/outbound-ssh.log* files |
messages | Upload 1 to 10 /var/log/messages* files |
core-dumps | Upload all core dump files, if any |
full | Upload 1 file with output of request support information , 1 file that concatenates all /var/log/outbound-ssh.log files, all core dump files, the 3 most recent /var/log/messages files, and Mist agent logs (for Junos devices running the Mist agent) |
var-logs | Upload all non-empty files in the /var/log/ directory |
jma-logs | Upload Mist agent logs (for Junos devices running the Mist agent only) |
Request Body
{"info"=>"process", "num_messages_files"=>1, "node"=>"node0"}
RESPONSES
status: OK