Skip to main content

GET – BMC Diagnostic log entries

Use the GET method to retrieve properties in Diagnostic log entries for a server.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries

Request body

None

Response body

The response is a JSON object that contains the following parameters:

FieldTypeDescription
IdString

“FFDC”[1] if data type is “Manager”

“FailureScreen” if data type is “OS”

NameString

“FFDC” or “Failure Screen”

CreatedString

The time the log entry was created.

EntryTypeString

The type of log entry. Always set to “Oem”.

OemRecordFormatString

If the entry type is Oem, this will contain more information about the record format from the Oem. Always set to “Lenovo”.

DescriptionString

“This resource is used to represent a log entry for log services for a Redfish implementation.”

AdditionalDataSizeBytesInt

The file size of FFDC file or failure screenshot.

Set it to 0, if the diag data is not available,

AdditionalDataURIString

The URI where XCC HTTPS server keeps the diag data.

Set it to null, if the diag data is not available.

DiagnosticDataTypeString

“Manager” for XCC FFDC;

“OS” for “failure screenshot”.

Note
[1] “FFDC” is an abbreviation of “First Failure Data Collection”, aka, Lenovo’s BMC Diagnostics Data

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.etag": "\"9d7b4a21075d359976ea0\"",
"Description": "A collection of DiagnosticLogEntry resource instances.",
"Members@odata.count": 2,
"Members": [
{
"@odata.etag": "\"34d175e8b88124292cd\"",
"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",
"DiagnosticDataType": "Manager",
"EntryType": "Oem",
"@odata.type": "#LogEntry.v1_11_0.LogEntry",
"Id": "FFDC",
"Name": "FFDC",
"AdditionalDataSizeBytes": 0,
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/FFDC",
"AdditionalDataURI": null
},
{
"@odata.etag": "\"3829a0d5b4002665519\"",
"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",
"DiagnosticDataType": "OS",
"EntryType": "Oem",
"@odata.type": "#LogEntry.v1_11_0.LogEntry",
"Id": "FailureScreen",
"Name": "Failure Screen",
"AdditionalDataSizeBytes": 0,
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries/FailureScreen",
"AdditionalDataURI": null
}
],
"Name": "DiagnosticLogEntryCollection",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog/Entries",
"@odata.context": "/redfish/v1/$metadata#LogEntryCollection.LogEntryCollection"
}