GET – Service for BMC active logs
Use the GET method to retrieve properties in active log service resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices/ActiveLog
Request body
None
Response body
Field | Type | Description | |||
---|---|---|---|---|---|
Id | String | Uniquely identifies the resource within the collection of the log services resource. Always set to “ActiveLog”. | |||
Name | String | The name of the resource or array element. | |||
DateTimeLocalOffset | String | The UTC offset that the current DateTime property value contains in the "+HH:MM" format. | |||
MaxNumberOfRecords | Number | The maximum number of log entries this service can have. Always set to 1024. | |||
DateTime | String | The current DateTime (with offset) for the log service, used to set or read time. | |||
ServiceEnabled | Boolean | Indicate whether this service is enabled. | |||
LogEntryType | String | “Multiple” | |||
Entries | Object | References to the log entry collection. | |||
Description | String | This resource is used to represent a log service for a Redfish implementation. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"DateTimeLocalOffset": "+00:00",
"@odata.id": "/redfish/v1/Systems/1/LogServices/ActiveLog",
"Name": "LogService",
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/ActiveLog/Entries"
},
"MaxNumberOfRecords": 1024,
"DateTime": "2020-06-03T06:33:48+00:00",
"@odata.type": "#LogService.v1_1_3.LogService",
"LogEntryType": "Multiple",
"Id": "ActiveLog",
"@odata.etag": "\"3807510e8e6b24e8f42\"",
"ServiceEnabled": true,
"Description": "This resource is used to represent a log service for a Redfish implementation."
}