日志
获取实时日志
获取实时日志.标准模式每行推送一个 JSON(type/payload);format=structured 时为 time/level/message/fields.
get/logs
Request
- Base URLhttp://127.0.0.1:9093
- URLhttp://127.0.0.1:9093/logs
- AuthHTTP bearer
Query parameters
level'info' | 'warning' | 'error' | 'debug'
日志级别过滤.可选值:info、warning、error、debug.
format'structured'
传入 structured 获取结构化日志(time/level/message/fields).
Response
流式日志,每条一行 JSON.
Example response
{
"type": "info",
"payload": "..."
}Changes
No recorded changes to this operation across all 2 revisions of this API.