GET – Service for IPMI SEL log
Use the GET method to retrieve properties in IPMI SEL log resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/SEL
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 “SEL”. | |||
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 2046. | |||
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. | |||
OverWritePolicy | String | “NeverOverWrites” or “WrapsWhenFull”. | |||
LogEntryType | String | “Multiple” | |||
Description | String | This resource is used to represent a log service for a Redfish implementation. | |||
Actions | Object | Expanded | |||
#LogService.ClearLog | Object | Using IPMI command to clear SEL record. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"OverWritePolicy": "NeverOverWrites",
"Actions": {
"#LogService.ClearLog": {
"target": "/redfish/v1/Systems/1/LogServices/SEL/Actions/LogService.ClearLog",
"title": "ClearLog"
}
},
"DateTimeLocalOffset": "+05:00",
"DateTime": "2021-10-11T12:02:39+05:00",
"Description": "This resource is used to represent a log service for a Redfish implementation.",
"MaxNumberOfRecords": 511,
"@odata.etag": "\"51cc7189a8b227e82e7\"",
"Oem": {
"Lenovo": {
"@odata.type": "#LenovoLogService.v1_0_0.LenovoLogServiceProperties",
"EnableSELWrapping": false
}
},
"Name": "LogService",
"@odata.type": "#LogService.v1_1_3.LogService",
"ServiceEnabled": true,
"Id": "SEL",
"@odata.id": "/redfish/v1/Systems/1/LogServices/SEL"
}