Skip to main content

GET – BMC Maintenance event log entries

Use the GET method to retrieve properties in Maintenance log entries for a server.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries

Request body

None

Response body

The response is a JSON object that contains the following parameters:

FieldTypeDescription

Id

String

Uniquely identifies the resource within the collection of the log entries.

Name

String

The name of the resource or array element. Always set to “LogEntry”.

Created

String

The time the log entry was created.

EntryType

String

The type of log entry. Always set to “Oem”.

EventGroupId

String

The identifier to correlate events come from a same cause.

OemRecordFormat

String

If the entry type is Oem, this will contain more information about the record format from the Oem. Always set to “Lenovo”.

Message

String

The actual Log Entry.

Description

String

A collection of Platform LogEntry resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries/3",
"EntryType": "Oem",
"Name": "LogEntry",
"EventGroupId": 1,
"Id": "1",
"Severity": null,
"@odata.type": "#LogEntry.v1_5_0.LogEntry",
"OemRecordFormat": "Lenovo",
"Message": "CPU 2(SKU NO: 01048340) is added.",
"@odata.etag": "\"31ba8a086a922965c8b\"",
"Created": "2019-12-20T01:52:13Z",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation."
},
...
],
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries",
"Members@odata.count": 83,
"@odata.etag": "\"1171e4930e543e359ab966e\"",
"Name": "LogEntryMaintenanceLogEntryCollection",
"Description": "A collection of LogEntryMaintenanceLogEntry resource instances."
}