diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f8fd29..8bf76ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # vNext - Service SCALING 状态拆分为 SCALING-UP SCALING-DOWN +- 日志搜索结果添加CollectedAtNano字段 # Release 1.2.0 - 添加禁用/启用AP端口的API,并在查看/搜索AP的API返回的端口信息中返回端口的启用状态(启用/禁用)。 diff --git a/kirksdk/qcos_api.go b/kirksdk/qcos_api.go index 994cdc2..1360f91 100644 --- a/kirksdk/qcos_api.go +++ b/kirksdk/qcos_api.go @@ -749,12 +749,13 @@ type LogsSearchResult struct { } type Hit struct { - Log string `json:"log"` - CollectedAt time.Time `json:"collectedAt"` - PodIP string `json:"podIp"` - ProcessName string `json:"processName"` - GateID string `json:"gateId"` - Domain string `json:"domain"` + Log string `json:"log"` + CollectedAt time.Time `json:"collectedAt"` + CollectedAtNano int64 `json:"collectedAtNano"` + PodIP string `json:"podIp"` + ProcessName string `json:"processName"` + GateID string `json:"gateId"` + Domain string `json:"domain"` } var (