GET – BMC 服务诊断事件日志条目
使用 GET 方法检索服务器的服务诊断日志条目中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries
请求正文
无
响应正文
响应是包含以下参数的 JSON 对象:
| 字段 | 类型 | 描述 | |||
|---|---|---|---|---|---|
| Id | 字符串 | 如果数据类型为“Manager”,则此值为“FFDC” 如果数据类型为“OS”,则此值为“FailureScreen” 如果数据类型为“MPFA”,则此值为“MPFA” | |||
| Description | 字符串 | “This resource is used to represent a log entry for log services for a Redfish implementation.” | |||
| Name | 字符串 | “FFDC”、“Failure Screen”或“Memory PFA Data” | |||
| Created | 字符串 | 此诊断数据创建时会显示时间。 | |||
| EntryType | 字符串 | “Oem” | |||
| OemRecordFormat | 字符串 | Lenovo | |||
| AdditionalDataSizeBytes | 整数 | FFDC 文件或故障屏幕快照的文件大小。 如果诊断数据不可用,则将其设置为 0。 | |||
| AdditionalDataURI | 字符串 | 供 XCC HTTPS 服务器用于保存诊断数据的 URI。如果诊断数据不可用,则将其设置为 null。 | |||
| DiagnosticDataType | 字符串 | 如果是 XCC FFDC,则为“Manager”; 如果是“故障屏幕快照”,则为“OS”。 如果是 MPFA,则为“OEM”。 | |||
状态代码
| HTTP 状态代码 | 错误消息 ID | 
|---|---|
| 500 | InternalError | 
示例
Get /redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/FFDC
{
    "@odata.type": "#LogEntry.v1_11_0.LogEntry",
    "@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/FFDC",
    "Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
    "OemRecordFormat": "Lenovo",
    "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
    "@odata.etag": "\"34d175e8b88124292cd\"",
    "DiagnosticDataType": "Manager",
    "AdditionalDataSizeBytes": 0,
    "EntryType": "Oem",
    "AdditionalDataURI": null,
    "Id": "FFDC",
    "Name": "FFDC"
}
提供反馈