GET – BMC active log entries
Use the GET method to retrieve properties in active log entries for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/ActiveLog/Entries
Request body
None
Response body
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”. | |||
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 Active LogEntry resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Members": [
{
"Id": "427",
"MessageArgs": [
"processor 1"
],
"@odata.id": "/redfish/v1/Systems/1/LogServices/ActiveLog/Entries/427",
"Severity": "Critical",
"EntryType": "Oem",
"Name": "LogEntry",
"Created": "2020-06-02T02:20:07.639+00:00",
"OemLogEntryCode": "PLAT0062",
"Oem": {
"Lenovo": {
"RelatedEventID": "",
"IsLocalEvent": true,
"EventID": "0x806F05070301FFFF",
"TotalSequenceNumber": "427",
"EventID@Redfish.Deprecated": "The property is deprecated. Please use EventId instead.",
"EventFlag": 0,
"EventType": 0,
"CommonEventID": "FQXSPPU0009N",
"Source": "Processors",
"LenovoMessageID": "PLAT0062",
"RawDebugLogURL": "",
"ReportingChain": "XCC",
"TSLVersion": "16",
"@odata.type": "#LenovoLogEntry.v1_0_0.ActiveLogEntry"
}
},
"EventId": "0x806F05070301FFFF",
"OemRecordFormat": "Lenovo",
"Message": "processor 1 has a Configuration Mismatch.",
"@odata.etag": "\"69da974945f5296f92a\"",
"@odata.type": "#LogEntry.v1_5_0.LogEntry",
"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/ActiveLog/Entries",
"Members@odata.count": 1,
"@odata.etag": "\"24e5339e3932332c8fb019\"",
"Name": "LogEntryActiveLogEntryCollection",
"Description": "A collection of LogEntryActiveLogEntry resource instances."
}