iLO 4 REST API Data Model (LogEntry Resource Type) - shamimur/hp-proliant-sdk GitHub Wiki

HP RESTful API Data Model Reference for iLO 4—Redfish 1.0 Conformance (Cont)

"LogEntry" Resource Type

Resource Instances

/rest/v1/Managers/{item}/LogServices/IEL/Entries/{item}

/rest/v1/Systems/{item}/LogServices/IML/Entries/{item}

See Resource Map for more details.

Resources of type "LogEntry" are members of a log entry parent collection. For the Integrated Management Log (IML) a client may create a Maintenance Note log entry by performing a POST of a JSON object to the parent log entry collection with the following format: {"EntryCode": "Maintenance", "Message":"text message here"}

"LogEntry" defines the following properties:

"Created"

This property is a member of LogEntry

The date and time when the log entry was created, for example, 2014-04-15T00:38:00Z.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"EntryType"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The log entry type.
JSON type:
String containing one of the following supported values: "Oem"

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"Message"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The log entry details.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"Number"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The number of duplicate log entries, with the possible exception of timestamps, that are not in the collection.
JSON type:
Integer

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"Oem/Hp/Class"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The IML event class.
JSON type:
Integer

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"Oem/Hp/Code"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The IML event code.
JSON type:
Integer

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"Oem/Hp/Repaired"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The repaired status of the IML event.
JSON type:
Boolean ('true' or 'false')

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.
PATCH This property may be PATCHed if the resource instance of this type supports PATCH in the HTTP Allow headers.

PATCH Example

HTTP PATCH to resource with request JSON:

{"Oem": {"Hp": {"Repaired": true}}}

The property "Oem/Hp/Repaired" on resource type LogEntry may not support PATCH of all values and may result in an HTTP 400 error with response of Type ExtendedError. Multiple properties may be included in a single HTTP PATCH operation as long as the request is properly formatted JSON. To address an array entry other than the first, insert nulls as placeholders on skipped array entries.

"Oem/Hp/Updated"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The date and time of the latest log entry update, for example, 2014-04-15T00:38:00Z.
JSON type:
String

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"OemRecordFormat"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The format of an OEM record.
JSON type:
String containing one of the following supported values: "Hp-IML" "Hp-iLOEventLog"

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"RecordId"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The log entry ID.
JSON type:
Integer greater than or equal to 0.

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.

"Severity"

This property is a member of [LogEntry](https://github.com/HewlettPackard/python-proliant-sdk/wiki/iLO-4-REST-API-Data-Model-(LogEntry-Resource-Type)#logentry-resource-type)
The log entry severity.
JSON type:
String containing one of the following supported values: "OK" "Warning" "Critical"

HTTP Operations

GET Rendered if supported by the implementation or omitted if not.
⚠️ **GitHub.com Fallback** ⚠️