GET – Service for IPMI Diagnostic log
Use the GET method to retrieve properties in service diagnostic log service resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/DiagnosticLog
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
DateTimeLocalOffset | String | Current date time offset | |||
Description | String | This resource is used to represent a log service for a Redfish implementation. | |||
Entries | Link | Link to each log entries | |||
Name | String | LogService | |||
ServiceEnabled | Boolean | True | |||
Id | String | DiagnosticLog | |||
MaxNumberOfRecords | Integer | 3 (Manager (FFDC) , OS (failure screen) and OEM(MPFA) ) | |||
DateTime | String | Current date time "format": "date-time" | |||
OverWritePolicy | String | enum string “WrapsWhenFull” | |||
LogEntryType | String | enum string “Multiple” | |||
Actions | Object | Expanded | |||
#LogService.CollectDiagnosticData | Object |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
{
"@odata.type": "#LogService.v1_3_0.LogService",
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog",
"@odata.etag": "\"6ab575b7abaf242f460\"",
"MaxNumberOfRecords": 3,
"Oem": {
"Lenovo": {
"@odata.type": "#LenovoLogService.v1_0_0.LenovoLogServiceProperties",
"MPFA_LastSeqNum": 31,
"MPFA_FirstSeqNum": 1
}
},
"DateTime": "2022-12-16T00:54:51+00:00",
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries"
},
"Id": "DiagnosticLog",
"@odata.context": "/redfish/v1/$metadata#LogService.LogService",
"Actions": {
"#LogService.CollectDiagnosticData": {
"target": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Actions/LogService.CollectDiagnosticData",
"title": "CollectDiagnosticData"
}
},
"DateTimeLocalOffset": "+00:00",
"Description": "This resource is used to represent a log service for a Redfish implementation.",
"LogEntryType": "Multiple",
"ServiceEnabled": true,
"OverWritePolicy": "WrapsWhenFull",
"Name": "LogService"
}
Give documentation feedback