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

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