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 | ActiveLog | |||
Name | String | The name of the resource or array element. | |||
Description | String | This resource is used to represent a log service for a Redfish implementation. | |||
ServiceEnabled | Boolean | Indicate whether this service is enabled. | |||
MaxNumberOfRecords | Number | The maximum number of log entries this service can have. Always set to 512. | |||
DateTimeLocalOffset | String | The UTC offset that the current DateTime property value contains in the “+HH:MM” format. | |||
DateTime | String | The current DateTime (with offset) for the log service, used to set or read time. | |||
LogEntryType | String | Multiple | |||
Entries | Object | References to the log entry collection. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#LogService.LogService",
"@odata.etag": "\"47655F3C\"",
"@odata.id": "/redfish/v1/Systems/1/LogServices/ActiveLog",
"@odata.type": "#LogService.v1_3_1.LogService",
"Actions": {
"Oem": {
...
}
}
},
"DateTime": "2024-12-04T05:05:06+00:00",
"DateTimeLocalOffset": "+00:00",
"Description": "This resource is used to represent a log service for a Redfish implementation.",
"Entries": {
"@odata.id": "/redfish/v1/Systems/1/LogServices/ActiveLog/Entries"
},
"Id": "ActiveLog",
"LogEntryType": "Multiple",
"MaxNumberOfRecords": 512,
"Name": "LogService",
"ServiceEnabled": true
}
Give documentation feedback