GET – Service for BMC standard event logs (Apply to Intel Purley-based systems)
Use the GET method to retrieve properties in standard log service resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/StandardLog
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 “StandardLog”. | |||
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 1024. | |||
DateTime | String | The current DateTime (with offset) for the log service, used to set or read time. | |||
OverWritePolicy | String | The overwrite policy for this service that takes place when the log is full. Always set to “WrapsWhenFull” – When full, new entries to the Log will overwrite previous entries. | |||
ServiceEnabled | Boolean | Indicate whether this service is enabled. | |||
LogEntryType | String | “Multiple” | |||
Entries | Object | References to the log entry collection. | |||
Actions | Object | The available actions for this resource. | |||
#LogService.ClearLog | Object | This action is used to clear all standard log entries. | |||
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:
{
"OverWritePolicy": "WrapsWhenFull",
"DateTime": "2021-10-13T02:18:41+00:00",
"@odata.etag": "\"d77bd9d6dea833b5c1ad1\"",
"Description": "This resource is used to represent a log service for a Redfish implementation.",
"Actions": {
"Oem": {
"#LenovoLogService.GetLogEntriesBySequenceNumber": {
"target": "/redfish/v1/Systems/1/LogServices/StandardLog/Actions/Oem/LenovoLogService.GetLogEntriesBySequenceNumber",
"title": "GetLogEntriesBySequenceNumber"
},
"#LenovoLogService.ClearSpecifiedLog": {
"target": "/redfish/v1/Systems/1/LogServices/StandardLog/Actions/Oem/LenovoLogService.ClearSpecifiedLog",
"title": "ClearSpecifiedLog"
},
"#LenovoLogService.GetLogEntriesByTotalSequenceNumber": {
"target": "/redfish/v1/Systems/1/LogServices/StandardLog/Actions/Oem/LenovoLogService.GetLogEntriesByTotalSequenceNumber",
"title": "GetLogEntriesByTotalSequenceNumber"
}
},
"#LogService.ClearLog": {
"target": "/redfish/v1/Systems/1/LogServices/StandardLog/Actions/LogService.ClearLog",
"title": "ClearLog"
}
},
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/StandardLog/Entries"
},
"LogEntryType": "Multiple",
"@odata.type": "#LogService.v1_1_3.LogService",
"Id": "StandardLog",
"@odata.id": "/redfish/v1/Systems/1/LogServices/StandardLog",
"ServiceEnabled": true,
"Name": "LogService",
"MaxNumberOfRecords": 2048,
"DateTimeLocalOffset": "+00:00",
"Oem": {
"Lenovo": {
"AuditHiddenLastSeqNum": 12,
"PlatformHiddenLastSeqNum": 5,
"SupportedCategories": 3087007935,
"PlatformHiddenFirstSeqNum": 1,
"AuditLastSeqNum": 56,
"AuditFirstSeqNum": 1,
"PlatformFirstSeqNum": 1,
"AuditHiddenFirstSeqNum": 1,
"AuditLogCapabilities": [
"None"
],
"DesiredCategories": 2147483684,
"@odata.type": "#LenovoLogService.v1_0_0.LenovoLogServiceProperties",
"PlatformLastSeqNum": 30,
"VMMoveCategory": [
{
"VMMoveCategoryBit": 0,
"VMMoveCategoryType": "VMEFlag",
"VMMoveCategoryName": "RAS event VM movement support"
}
]
}
}
}