跳到主要内容

GET – BMC 日志服务集合

使用 GET 方法检索服务器的日志服务资源中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/Systems/1/LogServices 

请求正文

响应正文

响应是包含以下参数的 JSON 对象:

字段类型描述

Name

字符串日志服务集合的名称。始终设置为“LogServiceCollection”。

Members

数组包含日志服务集合的成员。

Description

字符串“A collection of LogService resource instances.”

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

返回以下示例 JSON 响应:

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