GET – Collection of BMC log services
Use the GET method to retrieve properties in log services resource for a server.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices
Request body
None
Response body
The response is a JSON object that contains the following parameters:
Field | Type | Description | |||
---|---|---|---|---|---|
Name | String | The name of the log services collection. Always set to “LogServiceCollection”. | |||
Members | Array | Contains the members of log services collection. | |||
Description | String | A collection of LogService resource instances. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
When the request is successful, a message body similar to the following is returned:
{
"Members": [
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/PlatformLog"
},
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/AuditLog"
},
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/ActiveLog"
},
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/MaintenanceLog"
},
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/SaLog"
},
{
"@odata.id": "/redfish/v1/Systems/1/LogServices/SEL"
}
],
"@odata.type": "#LogServiceCollection.LogServiceCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices",
"Name": "LogServiceCollection",
"@odata.etag": "\"45c14a3a3bee29678fb\"",
"Members@odata.count": 6,
"Description": "A collection of LogService resource instances."
}
Give documentation feedback