Skip to main content

Active Event Log

Table 1. Active Event Log properties

Name

type

Read

only

Description

Id

string

true

Id of the Collection

Name

string

true

Name of the Collection

ServiceEnabled

boolean

true

Indicates whether this service is enabled.

MaxNumberOfRecords

number

true

The maximum numbers of LogEntries this service can have.

DateTime

string

true

The current DateTime (with offset from UTC) for the log service in Redfish Timestamp format.

DateTimeLocalOffset

string

true

The time offset from UTC that the DateTime property is set to in format: +06:00.

Status

object

true

Status of the log service

Entries

objec

true

Collection of resources of type LogEntry.

LogEntryType

string

true

The format of the log entries.

Request

GET https://{{ip}}/redfish/v1/Systems/Self/LogServices/ActiveLog
Content-Type: application/json

Response

{
"@odata.context": "/redfish/v1/$metadata#LogService.LogService",
"@odata.etag": "\"999999999\"",
"@odata.id": "/redfish/v1/Systems/Self/LogServices/ActiveLog",
"@odata.type": "#LogService.v1_1_2.LogService",
"DateTime": "2020-12-03T14:57:22+08:00",
"DateTimeLocalOffset": "+08:00",
"AccountLockoutDuration": 30,
"Description": "ActiveLog for this systems",
"Entries": {
"@odata.id": "/redfish/v1/Systems/Self/LogServices/ActiveLog/Entries"
},
"Id": "ActiveLog",
"LogEntryType": "Oem",
"MaxNumberOfRecords": 150,
"Name": "System ActiveLog Log Service",
"ServiceEnabled": true,
"Status": {
"Health": "OK",
"State": "Enabled"
}
}

Get Active Event Log Collection

Table 2. Active Event Log Collection Properties

Name

type

Read

only

Description

Id

string

True

Id of the Collection

Name

string

True

Name of the Collection

Members

array

True

Contains the members of this collection

Members@odata.count

number

True

Members@odata.count

Request

PATCH https://{{ip}}/redfish/v1/Systems/Self/LogServices/ActiveLog/Entries
Content-Type: application/json

Response

{
"@odata.context":"/redfish/v1/$metadata#LogEntryCollection.LogEntryCollection",
"@odata.etag": "\"1606974846\"",
"@odata.id": "/redfish/v1/Systems/Self/LogServices/ActiveLog/Entries",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Description": "Collection of entries for this log service",
"Members": [
{
"@odata.id": "/redfish/v1/Chassis/Self/LogServices/Logs/Entries/12"
"@odata.type": "#LogEntry.v1_4_2.LogEntry",
"Created": "2020-12-30T16:50:11+08:00",
"Description": "LOG 21",
"EntryCode": "Upper Non-critical – going high",
"EntryType": "SEL",
"EventTimestamp": "2020-12-30T16:50:03+08:00",
"Id": "21",
"Links": {
"OriginOfCondition": {
"@odata.id": "/redfish/v1/Chassis/Self/Thermal"
}
},
"Message": "0x57253C",
"MessageId": "AmiIpmiOem.1.0.GeneralEventData",
"Name": "LOG 21",
"Oem": {
"Lenovo": {
"@odata.id": "/redfish/v1/Chassis/Self/LogServices/Logs/Entries/12",
"@odata.type": "#LenovoLogEntry.LenovoLogEntry",
"CommonEventID": "A01810407"
}
},
"SensorNumber": 6,
"SensorType": "Temperature",
"Severity": "Warning"
} …
],
"Members@odata.count": 6,
"Name": "Log Service Entries Collection"
}

Get Active Event Log Instance

Table 3. Active Event Log Instance Properties

Name

type

Read

only

Description

Id

string

True

Resource Identifier

Name

string

True

Name of the Resource

Severity

string

True

This is the severity of the log entry. Enum values are OK,Warning or Critical.

Created

string

True

The time the log entry was created.

EntryType

string

True

This property shall represent the type of LogEntry. Enum can be Event, SEL or Oem.

EntryCode

string

True

This property shall be present if the EntryType value is SEL.

Message

string

True

This property shall be the Message property of the event and

decodes from EntryType:

MessageId

string

True

This property shall be the MessageId property of the event and

decodes from EntryType.

MessageArgs

array

True

This attribute contains a link to the sensor resource that has

exceeded/receded the specified threshold values.

Sensortype

string

True

The sensor type of resource that generates the the log entry

Sensornumber

string

True

The sensor number of resource that generates the the log entry

EventTimestamp

string

True

The time stamp as created the event.

Links

object

True

Contains references to other resources that are related to this

resource.

Oem

object

True

Contains Oem extention objects

- Lenovo

object

True

Lenovo extended objects

-- CommonEventID

object

True

Represents the unified event ID

Request

PATCH ttps://{{ip}}/redfish/v1/Systems/Self/LogServices/ActiveLog/Entries/{ID}
Content-Type: application/json

Response

{
"@odata.id": "/redfish/v1/Chassis/Self/LogServices/Logs/Entries/12",
"@odata.type": "#LogEntry.v1_4_2.LogEntry",
"Created": "2020-12-30T16:50:11+08:00",
"Description": "LOG 21"
"EntryCode": "Upper Non-critical - going high",
"EntryType": "SEL"
"EventTimestamp": "2020-12-30T16:50:03+08:00",
"Id": "21",
"Links": {
"OriginOfCondition": {
"@odata.id": "/redfish/v1/Chassis/Self/Thermal"
}
},
"Message": "0x57253C",
"MessageId": "AmiIpmiOem.1.0.GeneralEventData",
"Name": "LOG 21",
"Oem": {
"Lenovo": {
"@odata.id": "/redfish/v1/Chassis/Self/LogServices/Logs/Entries/12",
"@odata.type": "#LenovoLogEntry.LenovoLogEntry",
"CommonEventID": "A01810407"
}
},
"SensorNumber": 6,
"SensorType": "Temperature",
"Severity": "Warning"
}