GET /developer/logs
按级别、服务、关键词、时间范围查询租户日志(Elasticsearch 代理,自动注入租户隔离过滤),支持分页
网关 - 开发者工具 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
level |
query |
string |
No |
|
|
|
日志级别(DEBUG, INFO, WARN, ERROR) |
service |
query |
string |
No |
|
|
|
服务名称 |
keyword |
query |
string |
No |
|
|
|
搜索关键词 |
start_time |
query |
string |
No |
|
|
|
起始时间(RFC3339 格式) |
end_time |
query |
string |
No |
|
|
|
结束时间(RFC3339 格式) |
page |
query |
integer |
No |
1 |
|
|
页码 |
page_size |
query |
integer |
No |
20 |
|
|
每页条数 |
Responses
| Status | Description | Schema |
| 200 | 日志列表 | object |
| 400 | 请求参数无效 | object |
| 401 | 未认证 | object |
| 403 | 权限不足 | object |
| 500 | 服务器内部错误 | object |