EntriesCollection
更新时间: 2026/07/01
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Managers/manager_id/LogServices/EventLog/Entries
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | 日志集合资源模型的OData描述信息 | |
| @odata.id | string | true | 日志集合资源的访问路径 | |
| @odata.type | string | true | 日志集合资源的类型 | |
| Name | string | true | 日志集合资源的名称 | |
| Members@odata.count | number | false | 当前日志资源数量 | |
| Members@odata.nextLink | string | false | 下一分页的链接。 说明由于分页限制,每页最多显示32个成员。 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询系统日志集合资源信息
命令格式
URL: https://device_ip/redfish/v1/Managers/manager_id/LogServices/EventLog/Entries
请求头:
X-Auth-Token: auth_value
Content-Type: header_type请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| manager_id | 管理资源ID | ● 针对机架服务器,取值为1 ● 针对高密服务器,取值为BladeN(N表示节点槽位号),例如 “Blade0” ● 针对刀片服务器,取值可以为BladeN(N表示计算节点槽位号)或SwiN(N表示交换模块槽位号),例如 “Swi1” ● 针对X6800 V5,X6000 V5,G5500,XA320 V2服务器,取值还可以为Enc,表示计算节点所在的机框资源 ● 针对设备U位信息,取值可以为UN(N表示设备U位号),例如"U1" ● 针对机柜资源,取值为Rack |
| auth_value | 请求消息的鉴权参数 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
| header_type | 请求消息的格式 | 支持的消息格式包括: ● application/json ● application/json;charset=utf-8 |
使用指南
无
使用实例
请求样例: GET https://device_ip/redfish/v1/Managers/manager_id/LogServices/EventLog/Entries
X-Auth-Token: 123456789*********************** Content-Type: application/json 请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#LogEntryCollection.LogEntryCollection",
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Name": "Log Service Collection",
"Description": "Collection of Logs for this Manager",
"Members@odata.count": 1270,
"Members": [
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1270"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1269"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1268"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1267"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1266"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1265"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1264"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1263"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1262"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1261"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1260"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1259"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1258"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1257"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1256"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1255"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1254"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1253"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1252"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1251"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1250"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1249"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1248"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1247"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1246"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1245"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1244"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1243"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1242"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1241"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1240"
},
{
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/1239"
}
],
"Members@odata.nextLink": "/redfish/v1/Managers/1/LogServices/EventLog/Entries?$skip=32&$top=32"
}响应码:200