GET – BMC Audit event log entries
Use the GET method to retrieve properties in Audit log entries for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/AuditLog/Entries
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
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”. | |||
Severity | String | The severity of the log entry. | |||
Created | String | The time the log entry was created. | |||
EventId | String | The unique instance identifier for an event. | |||
EntryType | String | The type of log entry. Always set to “Oem”. | |||
EventGroupId | String | The identifier to correlate events come from a same cause. Always set to 0. | |||
OemRecordFormat | String | If the entry type is Oem, this will contain more information about the record format from the Oem. Always set to “Lenovo”. | |||
OemLogEntryCode | String | The OEM-specific entry code. | |||
Message | String | The actual Log Entry. | |||
MessageArgs | Array | Arguments for the message. | |||
Description | String | A collection of Platform LogEntry resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Members": [
{
"Message": "Undefined TPM_POLICY found",
"@odata.etag": "\"ejUxX1N0YW5kYXJkTG9nRW50cnkK1\"",
"MessageArgs": [],
"@odata.id": "/redfish/v1/Systems/1/LogServices/AuditLog/Entries/1",
"Description": "This resource is used to represent a log entry for log services for a Redfish implementation.",
"EntryType": "Oem",
"Name": "LogEntry",
"EventGroupId": 0,
"OemLogEntryCode": "UEFI",
"Oem": {
"Lenovo": {
"ReportingChain": "UEFI",
"IsLocalEvent": true,
"RawDebugLogURL": "",
"EventID@Redfish.Deprecated": "The property is deprecated. Please use EventId instead.",
"EventFlag": 0,
"AuxiliaryData": "",
"Source": "System",
"FailingFRU": [
{
"FRUSerialNumber": "",
"FRUNumber": ""
}
],
"TSLVersion": "0",
"RelatedEventID": "",
"Serviceable": "Not Serviceable",
"EventID": "0x0000000000000000",
"EventSequenceNumber": 1,
"EventType": 0,
"@odata.type": "#LenovoLogEntry.v1_0_0.AuditLogEntry",
"LenovoMessageID": "UEFI",
"AffectedIndicatorLEDs": [],
"TotalSequenceNumber": 1,
"CommonEventID": "FQXSFPU4051G",
"Hidden": false
}
},
"@odata.type": "#LogEntry.v1_5_0.LogEntry",
"OemRecordFormat": "Lenovo",
"Id": "1",
"Severity": "OK",
"EventId": "0x0000000000000000",
"Created": "2019-12-20T01:51:27.000+00:00"
},
...
]
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices/AuditLog/Entries",
"Members@odata.count": 188,
"@odata.etag": "\"601ae59a9185682d37fb812\"",
"Name": "LogEntryAuditLogEntryCollection",
"Description": "A collection of LogEntryAuditLogEntry resource instances."
}