GET – BMC 诊断日志条目(DebugLog)
使用 GET 方法检索服务器的诊断日志条目(DebugLog)中的属性。
请求 URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/DebugLog_{id}
请求正文
无
响应正文
字段 | 类型 | 描述 | |||
---|---|---|---|---|---|
Id | 字符串 | DebugLog_{id} | |||
Name | 字符串 | DebugLog_{id} | |||
Description | 字符串 | “This resource is used to represent a log entry for log services for a Redfish implementation.” | |||
EntryType | 字符串 | 日志条目的类型。始终设置为“OEM”。 | |||
OemRecordFormat | 字符串 | 如果条目类型为 OEM,则将包含有关 OEM 中的记录格式的详细信息。始终设置为 Lenovo。 | |||
DiagnosticDataType | 字符串 | 诊断数据的类型。始终设置为“Manager” | |||
AdditionalDataSizeBytes | 整数 | FFDC 文件或故障屏幕快照的文件大小。 如果诊断数据不可用,则将其设置为 0。 | |||
AdditionalDataURI | 字符串 | 供 XCC HTTPS 服务器用于保存诊断数据的 URI。 如果诊断数据不可用,则将其设置为 null。 | |||
OriginatorType | 字符串 | Internal |
状态代码
HTTP 状态代码 | 错误消息 ID |
---|---|
500 | InternalError |
示例
返回以下示例 JSON 响应:
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.etag": "\"0DA14EE6\"",
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/DebugLog_5",
"@odata.type": "#LogEntry.v1_13_0.LogEntry",
"AdditionalDataSizeBytes": 7537405,
"AdditionalDataURI": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/DebugLog_5 /attach/7DGCCTO1WW_BHSFW2U005_xcc3_DebugLog_241203-020203.tar.zst",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
"DiagnosticDataType": "Manager",
"EntryType": "Oem",
"Id": "DebugLog_5",
"Name": "DebugLog_5",
"OemRecordFormat": "Lenovo",
"OriginatorType": "Internal"
}
提供反馈