Event properties
Properties in Event service resource for Redfish service.
Request URL
N/A
Request body
None
Response body
Field | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
Id | String | Unique event Id | ||||||
Name | String | “Redfish Event” | ||||||
Context | String | A context can be supplied at subscription time. This property is the context value supplied by the subscriber. | ||||||
Events | Array | Item: event record Item count: 1 | ||||||
Events[N] | Object | Expanded | ||||||
EventType | String | This indicates the type of event sent, according to the definitions in the EventService. | ||||||
EventGroupId | Integer | 0 | ||||||
EventId | String | This is a unique instance identifier of an event. Client provides the EventId when it is sent with SubmitTestEvent action. | ||||||
EventTimestamp | String | This is time the event occurred. | ||||||
MessageSeverity | String | Severity of the event. Valid values
| ||||||
MemberId | String | This is the identifier for the member within the collection. | ||||||
Message | String | Message text | ||||||
MessageId | String | This is the key for this message which can be used to look up the message in a message registry. | ||||||
MessageArgs | Array | Array of message arguments | ||||||
MessageArgs[N] | String | Message argument | ||||||
OriginOfCondition | String | “/redfish/v1/Systems/1/LogServices/StandardLog” |
Status code
N/A
Example
The following is an example for event JSON data response:
{
"Id" : "2",
"Events" : [
{
"EventTimestamp" : "2019-12-05T19:26:16+00:00",
"MessageArgs" : [
"USERID",
"the standard password",
"web",
"192.168.0.2"
],
"Oem" : {
"SystemUUID" : "F0F63E94-8E25-11E8-9A5A-7ED30A5E2267",
"Lenovo" : {
"IsLocalEvent" : true,
"AffectedIndicatorLEDs" : [],
"LenovoMessageID" : "Lenovo0014",
"EventType" : 0,
"RelatedEventID" : "",
"RawDebugLogURL" : "",
"AuxiliaryData" : "",
"Source" : "System",
"FailingFRU" : [
{
"FRUNumber" : "",
"FRUSerialNumber" : ""
}
],
"EventSequenceNumber" : 1616,
"EventFlag" : 0,
"TSLVersion" : "0",
"CommonEventID" : "FQXSPSE4001I",
"TotalSequenceNumber" : 1965,
"EventID" : "0x4000000e00000000",
"Serviceable" : "Not Serviceable",
"ReportingChain" : "",
"@odata.type" : "#LenovoLogEntry.v1_0_0.StandardLogEntry",
"Hidden" : false
},
"SystemMachineTypeModel" : "7X05CTO1WW",
"SystemSerialNumber" : " DSYM09X"
},
"MemberId" : "0001",
"OriginOfCondition" : {
"@odata.id" : "/redfish/v1/Systems/1/LogServices/StandardLog"
},
"MessageId" : "EventRegistry.1.0.FQXSPSE4001I",
"EventGroupId" : 0,
"EventId" : "16ED786F53C",
"Message" : "Remote Login Successful. Login ID: USERID using the standard password from web at IP address 192.168.0.2.",
"MessageSeverity" : "OK"
}
],
"@odata.type" : "#Event.v1_4_0.Event",
"Events@odata.count" : 1,
"Context" : "Test_Context",
"Name" : "Redfish Event",
"Description" : "This resource represents an event for a Redfish implementation."
}