Skip to main content

GET – BMC Service Advisor event log entries

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

Request URL

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

Request body

None

Response body

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

FieldTypeDescription

Id

String

Uniquely identifies the resource within the collection of the log entries.

Name

String

The name of the resource or array element. Always set to “LogEntry”.

Created

String

The time the log entry was created.

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”.

Message

String

The actual Log Entry.

Description

String

A collection of Platform LogEntry resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/SaLog/Entries/1",
"Id": "1",
"EntryType": "Oem",
"Name": "LogEntry",
"Severity": "OK",
"Created": "2020-06-05T06:26:00Z",
"Oem": {
"Lenovo": {
"EventSeverity": "INFO",
"CaseNumber": "N/A",
"EventStatus": "Pending"
}
},
"EventId": "FQXSPSS4004I",
"OemRecordFormat": "Lenovo",
"Message": "Test Call Home Generated by user USERID.",
"@odata.etag": "\"38fc1e1486a128a43c3\"",
"@odata.type": "#LogEntry.v1_5_0.LogEntry",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation."
}
],
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices/SaLog/Entries",
"Members@odata.count": 1,
"@odata.etag": "\"64b7bffdea2a25aff8f\"",
"Name": "LogEntryServiceAdvisorLogEntryCollection",
"Description": "A collection of LogEntryServiceAdvisorLogEntry resource instances."
}