GET – Service for BMC Diagnostic logs
Use the GET method to retrieve properties in 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 | |||
---|---|---|---|---|---|
Id | String | Uniquely identifies the resource within the collection of the log services resource. Always set to “DiagnosticLog”. | |||
Name | String | The name of the resource or array element. | |||
Description | String | This resource is used to represent a log service for a Redfish implementation. | |||
ServiceEnabled | Boolean | Indicate whether this service is enabled. | |||
MaxNumberOfRecords | Number | 12 (Manager (FFDC) and OS (failure screen) ) | |||
DateTimeLocalOffset | String | The UTC offset that the current DateTime property value contains in the “+HH:MM” format. | |||
DateTime | String | The current DateTime (with offset) for the log service, used to set or read time. | |||
OverWritePolicy | String | enum string “WrapsWhenFull” | |||
LogEntryType | String | “Multiple” | |||
Entries | Object | References to the log entry collection. | |||
Actions | Object | Expanded. | |||
#LogService.CollectDiagnosticData | Object | Expanded. | |||
title | String | CollectDiagnosticData | |||
target | String | /redfish/v1/Systems/1/LogServices/DiagnosticLog/Actions/LogService.CollectDiagnosticData |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#LogService.LogService",
"@odata.etag": "\"566C0640\"",
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog",
"@odata.type": "#LogService.v1_3_1.LogService",
"Actions": {
"#LogService.CollectDiagnosticData": {
"DiagnosticDataType@Redfish.AllowableValues": [
"Manager",
"OEM"
],
"OEMDiagnosticDataType@Redfish.AllowableValues": [
"MiniLog",
"MPFA"
],
"target": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Actions/ LogService.CollectDiagnosticData",
"title": "CollectDiagnosticData"
}
},
"DateTime": "2024-12-04T05:05:15+00:00",
"DateTimeLocalOffset": "+00:00",
"Description": "This resource is used to represent a log service for a Redfish implementation.",
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries"
},
"Id": "DiagnosticLog",
"LogEntryType": "Multiple",
"MaxNumberOfRecords": 12,
"Name": "LogService",
"Oem": {
...
}
},
"OverWritePolicy": "WrapsWhenFull",
"ServiceEnabled": true
}
Give documentation feedback