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
The following example JSON response is returned:
{
"Members@odata.count": 7,
"Name": "LogServiceCollection",
"@odata.type": "#LogServiceCollection.LogServiceCollection",
"@odata.id": "/redfish/v1/Systems/1/LogServices",
"@odata.etag": "\"50de7c49784224ecf22\"",
"@odata.context": "/redfish/v1/$metadata#LogServiceCollection.LogServiceCollection",
"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.id": "/redfish/v1/Systems/1/LogServices/DiagnosticLog"
}
],
"Description": "A collection of LogService resource instances."
}
Give documentation feedback