Downloading Logs
Function
This interface is used to download logs.
Syntax
Operation type: POST
URL: https://device_ip/redfish/v1/Systems/LogServices/Actions/download
Request header:
X-Auth-Token: auth_value
Content-Type: header_type
Request message body:
{
"name": resourceID }
Request Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
name |
Mandatory |
ID of a log service resource |
String, which can be:
The values are separated by a space. For details, see the following example. |
Usage Guidelines
None
Example
Request:
POST https://10.10.10.10//redfish/v1/Systems/LogServices/Actions/download
Request header:
X-Auth-Token: auth_value
header_type: application/json
Request message body:
{
"name":"NPU MindXOM MEF OSDivers"
}
Response: None (Directly export logs.)
Response code: 200
Output Description
Directly download files.
Parent topic: Software Management