监控与采集相关接口/日志
GETLogging起始版本 1.0同步需要认证
获取K8s组件日志
获取近期日志特定kubernetes控制平面组件。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
路径参数
查询参数
请求参数
路径参数
componentString必填组件。
查询参数
tailInteger尾部行数。
示例: 0
响应状态
请求地址
GET/api/v1/logging/k8s-control-plane/{component}/logs
/api/v1/logging/k8s-control-plane/{component}/logs
请求示例
curl -X GET '{host}/api/v1/logging/k8s-control-plane/{component}/logs' -H 'Authorization: Bearer {token}'
响应示例
200{
"items": [
{}
]
}变更历史
此 API 暂无变更历史记录。
