Skip to main content

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:

FieldTypeDescription

Name

StringThe name of the log services collection. Always set to “LogServiceCollection”.

Members

ArrayContains the members of log services collection.

Description

StringA collection of LogService resource instances.

Status code

HTTP Status CodeError Message ID
500InternalError

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."
}