GET – BMC 维护事件日志条目
使用 GET 方法检索服务器的维护日志条目中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/MaintenanceLog/Entries/Z
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | 在日志条目集合中唯一标识该资源。 | |||
Name | 字符串 | 资源或数组元素的名称。始终设置为“LogEntry”。 | |||
Description | 字符串 | “A collection of Platform LogEntry resource instances.” | |||
Severity | 字符串 | null | |||
Created | 字符串 | 创建日志条目的时间。 | |||
EntryType | 字符串 | 日志条目的类型。始终设置为“OEM”。 | |||
OemRecordFormat | 字符串 | 如果条目类型为 OEM,则将包含有关 OEM 中的记录格式的详细信息。始终设置为 Lenovo。 | |||
Message | 字符串 | 实际日志条目。 | |||
EventGroupId | 字符串 | 用于将同一原因的事件关联起来的标识符。 |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@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
}
提供反馈