GET – Service for BMC Maintenance event logs
Use the GET method to retrieve properties in maintenance log service resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/MaintenanceLog
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 “MaintenanceLog”. | |||
Name | String | The name of the resource or array element. | |||
DateTimeLocalOffset | String | The UTC offset that the current DateTime property value contains in the "+HH:MM" format. | |||
MaxNumberOfRecords | Number | The maximum number of log entries this service can have. Always set to 1024. | |||
DateTime | String | The current DateTime (with offset) for the log service, used to set or read time. | |||
ServiceEnabled | Boolean | Indicate whether this service is enabled. | |||
LogEntryType | String | “Multiple” | |||
Entries | Object | References to the log entry collection. | |||
Description | String | This resource is used to represent a log service for a Redfish implementation. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"DateTimeLocalOffset": "+00:00",
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog",
"Name": "LogService",
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries"
},
"MaxNumberOfRecords": 750,
"DateTime": "2020-06-03T07:21:52+00:00",
"@odata.type": "#LogService.v1_1_3.LogService",
"LogEntryType": "Multiple",
"Id": "MaintenanceLog",
"@odata.etag": "\"3ac30640398727e442b\"",
"ServiceEnabled": true,
"Description": "This resource is used to represent a log service for a Redfish implementation."
}