GET – Collection of BMC log entries
Use the GET method to retrieve properties in log entries resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/{PlatformLog, AuditLog, ActiveLog, MaintenanceLog, SaLog, SEL, DiagnosticLog}/Entries
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | The name of the log services collection. | |||
Members | Array | Contains the members of log services collection. | |||
Description | String | A collection of LogService resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#LogEntryCollection.LogEntryCollection",
"@odata.etag": "\"DCE55E4D\"",
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Description": "A collection of LogEntryMaintenanceLogEntry resource instances.",
"Members": [
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.etag": "\"C5CB9B84\"",
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries/1",
"@odata.type": "#LogEntry.v1_13_0.LogEntry",
"Created": "2024-12-03T20:35:54+00:00",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
"EntryType": "Oem",
"EventGroupId": 0,
"Id": "1",
"Message": "Backup BMC firmware is updated to IHX407Y by Redfish.",
"Name": "LogEntry",
"Oem": {
...
}
},
"OemRecordFormat": "Lenovo",
"Severity": null
},
...
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.etag": "\"EB9325D6\"",
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries/6",
"@odata.type": "#LogEntry.v1_13_0.LogEntry",
"Created": "2024-12-04T02:41:49+00:00",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
"EntryType": "Oem",
"EventGroupId": 0,
"Id": "6",
"Message": "Primary BMC firmware is activated to IHX407Y.",
"Name": "LogEntry",
"Oem": {
...
}
},
"OemRecordFormat": "Lenovo",
"Severity": null
}
],
"Members@odata.count": 6,
"Name": "LogEntryMaintenanceLogEntryCollection"
}
Give documentation feedback