Skip to main content

GET – Log Service Instance

Request

Chassis

GET https://{{ip}}/redfish/v1/Chassis/{{chassis_instance}}/LogServices/{{chassis_log_instance}}
Content-Type: application/json

Manager

GET https://{{ip}}/redfish/v1/Managers/{{manager_instance}}/LogServices/{{manager_log_instance}}
Content-Type: application/json

System

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

Telemetry

GET https://{{ip}}/redfish/v1/TelemetryService/LogService
Content-Type: application/json

Response

The response of the request will be in JSON format. The properties are mentioned in the following table.

Table 1. Log Service Properties

Name

Type

Read only

Description

(OData Attributes)  

Refer to OData Support

OemObject 

OEM Extension (Optional), Refer to Resource Complex Types.

Id(M)StringTrue

Refer to Resource Type Definitions

Name(M)StringTrue
DescriptionStringTrue
ServiceEnabledBooleanTrueIndicates whether this service is enabled.

MaxNumberOfRecords(C)

Number

True

  1. The maximum numbers of LogEntries this service can have.

  2. This value is by default configured as 150 for AuditLog, SEL, BIOS Logs and 100 for Telemetry Service Logs.

OverWritePolicy(C)String

True

Indicates the policy of the log service when the MaxNumberOfRecords has been reached or when the log is full.

Enum

Description

WrapsWhenFull

When full, new entries to the Log will overwrite previous entries.

DateTime

String

False

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

  2. The valid range is -12:00 to +14:00.

  3. Please refer the following link for the allowable values within the above specified range.

    https://en.wikipedia.org/wiki/List_of_UTC_time_offsets

  4. According to UNIX time maximum date allowed to PATCH is 2038-01-18

DateTimeLocalOffset

String

False

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

  2. The valid range is -12:00 to +14:00.

  3. Please refer the following link for the allowable values within the above specified range.

    https://en.wikipedia.org/wiki/List_of_UTC_time_offsets

Action

Object

True

The Actions property shall contain the available actions for this resource like LogService.ClearLog or any other OEM Actions.

Status

Object

True

Refer to Resource Complex Types.

Entries(N)

Object

True

The value of this property shall reference a collection of resources of type LogEntry.

LogEntryType

String

True

The format of the log entries.

Enum

Description

Event

The log contains Redfish-defined messages (events).

SEL

The log contains legacy IPMI System Event Log (SEL) entries.

Multiple

The log contains multiple Log Entry types, or a single-entry type cannot be guaranteed by the Log Service.

OEM

The log contains entries in an OEM-defined format.