GET – BMC standard event log entries (Apply to Intel Purley-based systems)
Use the GET method to retrieve properties in standard log entries for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/StandardLog/Entries
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
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 | Integer | 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 Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Members@odata.count": 86,
"Members": [
{
"Created": "2021-09-29T09:01:47.462+00:00",
"Oem": {
"Lenovo": {
"AuxiliaryData": "",
"Source": "Power",
"TSLVersion": "16",
"RelatedEventID": "",
"Hidden": false,
"EventID": "0x806f06080a01ff03",
"EventID@Redfish.Deprecated": "The property is deprecated. Please use EventId instead.",
"EventSequenceNumber": 1,
"LenovoMessageID": "DMTF0104",
"Serviceable": "Serviceable by Customer",
"CommonEventID": "FQXSPPW0007L",
"TotalSequenceNumber": 2,
"AffectedIndicatorLEDs": [
{
"LEDState": "Lit",
"LEDIdentifier": "85"
},
{
"LEDState": "Lit",
"LEDIdentifier": "0"
}
],
"FailingFRU": [
{
"FRUSerialNumber": "33",
"FRUNumber": ""
}
],
"LogType": "StardandLogEntry-Platform",
"EventType": 0,
"ReportingChain": "XCC",
"@odata.type": "#LenovoLogEntry.v1_0_0.StandardLogEntry",
"IsLocalEvent": true,
"RawDebugLogURL": "",
"EventFlag": 0
}
},
"@odata.etag": "\"ejUxX1N0YW5kYXJkTG9nRW50cnkK2\"",
"EventGroupId": 0,
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
"MessageArgs": [
"Power Supply 1"
],
"OemLogEntryCode": "DMTF0104",
"Message": "Power Supply 1 has a Configuration Mismatch.",
"Severity": "Critical",
"@odata.id": "/redfish/v1/Systems/1/LogServices/StandardLog/Entries/2",
"EntryType": "Oem",
"Id": "2",
"Name": "LogEntry",
"@odata.type": "#LogEntry.v1_6_0.LogEntry",
"OemRecordFormat": "Lenovo",
"EventId": "0x806f06080a01ff03"
},
…
],
"@odata.etag": "\"2eb23540698c7c2e2296868\"",
"Description": "A collection of LogEntryStandardLogEntry resource instances.",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices/StandardLog/Entries",
"Name": "LogEntryStandardLogEntryCollection"
}