GET – BMC Diagnostic log entries (DebugLog)
Use the GET method to retrieve properties in Diagnostic log entries (DebugLog) for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/DebugLog_{id}
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | DebugLog_{id} | |||
Name | String | DebugLog_{id} | |||
Description | String | This resource is used to represent a log entry for log services for a Redfish implementation. | |||
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. | |||
DiagnosticDataType | String | The type of diagnostic data. Always set to “Manager” | |||
AdditionalDataSizeBytes | Integer | The file size of FFDC file or failure screenshot. Set it to 0, if the diagnostic data is not available, | |||
AdditionalDataURI | String | The URI where XCC HTTPS server keeps the diagnostic data. Set it to null, if the diagnostic data is not available. | |||
OriginatorType | String | Internal |
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": "\"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"
}