节点日志相关服务找到 8 个接口
列出单页日志
listNodeLogs
POST/NodeLogService/listNodeLogs
- 定义文件
service_node_log.proto- 可用角色
- 管理员
rpc listNodeLogs (ListNodeLogsRequest) returns (ListNodeLogsResponse);
请求消息
ListNodeLogsRequest列出单页日志
message ListNodeLogsRequest {
int64 nodeClusterId = 15;
int64 nodeId = 1;
string role = 2;
int64 offset = 3;
int64 size = 4;
string dayFrom = 5;
string dayTo = 6;
string keyword = 7;
string level = 8;
int64 serverId = 9;
int32 fixedState = 10;
bool allServers = 11; // 是否获取所有服务相关的日志
int64 originId = 12;
bool isUnread = 13;
string tag = 14;
}
响应消息
ListNodeLogsResponsemessage ListNodeLogsResponse {
repeated NodeLog nodeLogs = 1;
}