Skip to main content

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

Note
In Lenovo Purley-based systems, the standard event log service is consisted of Audit log service and platform log service, while in next generation products(like Whitley-based systems), the standard log service on longer exists and turns into two separate log service “Audit”(13.1.5) and “Platform”(13.1.4).
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/StandardLog

Request body

None

Response body

FieldTypeDescription
IdString

Uniquely identifies the resource within the collection of the log services resource. Always set to “StandardLog”.

NameString

The name of the resource or array element.

DateTimeLocalOffsetString

The UTC offset that the current DateTime property value contains in the "+HH:MM" format.

MaxNumberOfRecordsNumber

The maximum number of log entries this service can have. Always set to 1024.

DateTimeString

The current DateTime (with offset) for the log service, used to set or read time.

OverWritePolicyString

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.

ServiceEnabledBoolean

Indicate whether this service is enabled.

LogEntryTypeString

“Multiple”

EntriesObject

References to the log entry collection.

ActionsObject

The available actions for this resource.

 #LogService.ClearLogObject

This action is used to clear all standard log entries.

DescriptionString

This resource is used to represent a log service for a Redfish implementation.

Status code

HTTP Status CodeError Message ID
500InternalError

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"
}
]
}
}
}