节点日志相关服务找到 8 个接口
查询日志数量
countNodeLogs
POST/NodeLogService/countNodeLogs
- 定义文件
service_node_log.proto- 可用角色
- 管理员
rpc countNodeLogs (CountNodeLogsRequest) returns (RPCCountResponse);
请求消息
CountNodeLogsRequest查询日志数量
message CountNodeLogsRequest {
int64 nodeClusterId = 11;
int64 nodeId = 1;
string role = 2;
string dayFrom = 3;
string dayTo = 4;
string keyword = 5;
string level = 6;
int64 serverId = 7;
int64 originId = 8;
bool isUnread = 9;
string tag = 10;
int32 fixedState = 12;
bool allServers = 13; // 是否获取所有服务相关的日志
}
响应消息
RPCCountResponse返回数量
message RPCCountResponse {
int64 count = 1;
}