Entries
更新时间: 2026/07/01
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/Managers/manager_id/LogServices/EventLog/Entries/entries_id
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | 日志集合资源模型的OData描述信息 | |
| @odata.id | string | true | 日志集合资源的访问路径 | |
| @odata.type | string | true | 日志集合资源的类型 | |
| Name | string | true | 日志资源的名称 | |
| Description | string | true | 日志资源描述信息 | |
| Severity | string | false | 安全级别 ● OK ● Warning ● Critical | |
| Level | string | false | 自定义安全级别 ● Informational ● Minor ● Major ● Critical | |
| Created | string | false | 日志创建时间 | |
| EventTimestamp | string | false | 事件发生时间 | |
| EntryType | string | false | 日志类型 ● Event ● SEL ● Oem | |
| EventId | string | false | 事件码 | |
| Message | string | false | 日志描述信息 | |
| MessageArgs | string | false | 消息参数 | |
| MessageId | string | false | 消息ID | |
| EventType | string | false | 事件类型 | |
| Resolved | boolean | false | 事件是否已恢复 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询系统日志资源信息
命令格式
URL: https://device_ip/redfish/v1/Managers/manager_id/LogServices/EventLog/Entries/entries_id
请求头:
X-Auth-Token: auth_value请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 请求消息的鉴权参数 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
无
使用实例
请求样例: GET https://device_ip/redfish/v1/Managers/manager_id/LogServices/EventLog/Entries/entries_id
X-Auth-Token: auth_value Content-Type: header_type 请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry",
"@odata.id": "/redfish/v1/Managers/1/LogServices/EventLog/Entries/748",
"@odata.type": "#LogEntry.v1_1_1.LogEntry",
"Id": "748",
"Name": "Log Entry 748",
"Description": "System Event Log",
"Severity": "OK",
"Created": "2020-08-19T05:25:26+08:00",
"Resolved": false,
"EntryType": "Event",
"EventType": "Alert",
"Message": "iBMC is restarted after AC power supply is restored.",
"MessageId": "iBMCEvents.3.0.BMCRestartedAfterPowerRestored",
"MessageArgs": []
}响应码:200