GET – Service for BMC Service Advisor event logs
Use the GET method to retrieve properties in service advisor log service resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/SaLog
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | Uniquely identifies the resource within the collection of the log services resource. Always set to “SaLog”. | |||
Name | String | The name of the resource or array element. | |||
DateTimeLocalOffset | String | The UTC offset that the current DateTime property value contains in the “+HH:MM” format. | |||
MaxNumberOfRecords | Number | The maximum number of log entries this service can have. Always set to 750. | |||
DateTime | String | The current DateTime (with offset) for the log service, used to set or read time. | |||
ServiceEnabled | Boolean | Indicate whether this service is enabled. | |||
LogEntryType | String | “Multiple” | |||
Entries | Object | References to the log entry collection. | |||
Description | String | This resource is used to represent a log service for a Redfish implementation. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"DateTimeLocalOffset": "+00:00",
"@odata.id": "/redfish/v1/Systems/1/LogServices/SaLog",
"Name": "LogService",
"ServiceEnabled": true,
"MaxNumberOfRecords": 5,
"DateTime": "2020-06-04T07:23:06+00:00",
"@odata.type": "#LogService.v1_1_3.LogService",
"LogEntryType": "Multiple",
"Id": "SaLog",
"@odata.etag": "\"371639a953bf2ae7845\"",
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/SaLog/Entries"
},
"Description": "This resource is used to represent a log service for a Redfish implementation."
}