uploadSiteDeviceSupport

POST https://{{host}}/api/v1/sites/:site_id/devices/:device_id/support

Support / Upload device support files

Params

NameTypeDescription
infostringoptional: process, outbound-ssh, messages, and full (default)
num_messages_filesintoptional: number of most recent messages files to upload, default is 1, max is 10
nodestringoptional: for SSR, if node is not present, both nodes support files are uploaded

info Parameter Description

NameDescription
processUpload 1 file with output of show system processes extensive
outbound-sshUpload 1 file that concatenates all /var/log/outbound-ssh.log* files
messagesUpload 1 to 10 /var/log/messages* files
core-dumpsUpload all core dump files, if any
fullUpload 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-logsUpload all non-empty files in the /var/log/ directory
jma-logsUpload Mist agent logs (for Junos devices running the Mist agent only)

Request Body

{"info"=>"process", "num_messages_files"=>1, "node"=>"node0"}

RESPONSES

status: OK