Skip to main content

GET – BMC Platform event log entries

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

Request URL

Note
This resource is not available on Lenovo Purley-based systems. If you are looking for platform log entry on Lenovo Purley systems, please refer to 13.2.2.
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/PlatformLog/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”.

Severity

String

The severity of the log entry.

Created

String

The time the log entry was created.

EventId

String

The unique instance identifier for an event.

EntryType

String

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

EventGroupId

String

The identifier to correlate events come from a same cause. Always set to 0.

OemRecordFormat

String

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

OemLogEntryCode

String

The OEM-specific entry code.

Message

String

The actual Log Entry.

MessageArgs

Array

Arguments for the message.

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": [
{
"Message": "ENET[CIM:ep1] IPv6-LinkLocal:HstName=XCC-7Z60-SN, IP@=fe80::0a94:efff:feaf:4e9f ,Pref=64 .",
"@odata.etag": "\"ejUxX1N0YW5kYXJkTG9nRW50cnkK5\"",
"MessageArgs": [
"CIM:ep1",
"XCC-7Z60-SN",
"fe80::0a94:efff:feaf:4e9f",
"64"
],
"@odata.id": "/redfish/v1/Systems/1/LogServices/PlatformLog/Entries/5",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
"EntryType": "Oem",
"Name": "LogEntry",
"EventGroupId": 0,
"OemLogEntryCode": "Lenovo0055",
"Oem": {
"Lenovo": {
"ReportingChain": "",
"IsLocalEvent": true,
"RawDebugLogURL": "",
"EventID@Redfish.Deprecated": "The property is deprecated. Please use EventId instead.",
"EventFlag": 0,
"AuxiliaryData": "",
"Source": "System",
"FailingFRU": [
{
"FRUSerialNumber": "",
"FRUNumber": ""
}
],
"TSLVersion": "0",
"RelatedEventID": "",
"Serviceable": "Not Serviceable",
"EventID": "0x4000003700000000",
"EventSequenceNumber": 5,
"EventType": 0,
"@odata.type": "#LenovoLogEntry.v1_0_0.PlatformLogEntry",
"LenovoMessageID": "Lenovo0055",
"AffectedIndicatorLEDs": [],
"TotalSequenceNumber": 8,
"CommonEventID": "FQXSPNM4028I",
"Hidden": false
}
},
"@odata.type": "#LogEntry.v1_5_0.LogEntry",
"OemRecordFormat": "Lenovo",
"Id": "5",
"Severity": "OK",
"EventId": "0x4000003700000000",
"Created": "2019-12-20T01:51:47.819+00:00"
},
...
],
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices/PlatformLog/Entries",
"Members@odata.count": 234,
"@odata.etag": "\"7a0c2ef50776342e2a9600f\"",
"Name": "LogEntryPlatformLogEntryCollection",
"Description": "A collection of LogEntryPlatformLogEntry resource instances."
}