GET – BMC Platform event log entries
Use the GET method to retrieve properties in Platform log entries for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/PlatformLog/Entries/X
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”. | |||
Description | String | A collection of Platform LogEntry resource instances. | |||
Severity | String | The severity of the log entry. | |||
Created | String | The time the log entry was created. | |||
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. | |||
Message | String | The actual Log Entry. | |||
MessageArgs | Array | Arguments for the message. | |||
MessageArgs[N] | Array | The arguments for the message. | |||
Links | Object | Expanded. | |||
OriginOfCondition | Object | Expanded. | |||
@odata.id | Link | /redfish/v1/Systems/1 | |||
EventId | String | The unique instance identifier for an event. | |||
EventGroupId | String | The identifier to correlate events come from a same cause. Always set to 0. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.etag": "\"720CA671\"",
"@odata.id": "/redfish/v1/Systems/1/LogServices/PlatformLog/Entries/1",
"@odata.type": "#LogEntry.v1_13_0.LogEntry",
"Created": "2024-11-30T05:42:45+00:00",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
"EntryType": "Oem",
"EventGroupId": 0,
"EventId": "FQXSPPW2008I",
"Id": "1",
"Links": {
"OriginOfCondition": {
"@odata.id": "/redfish/v1/Systems/1"
}
},
"Message": "Host power has been turned on.",
"MessageArgs": [],
"Name": "LogEntry",
"Oem": {
...
}
},
"OemRecordFormat": "Lenovo",
"Severity": "OK"
}