From 5a2b314c46ea85e3315db5b110af0e81c4d4f12f Mon Sep 17 00:00:00 2001 From: huanggze Date: Fri, 5 Jul 2019 21:27:16 +0800 Subject: [PATCH] update logging api docs Signed-off-by: huanggze --- pkg/simple/client/elasticsearch/esclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/simple/client/elasticsearch/esclient.go b/pkg/simple/client/elasticsearch/esclient.go index 629c251bf..feaaa949b 100644 --- a/pkg/simple/client/elasticsearch/esclient.go +++ b/pkg/simple/client/elasticsearch/esclient.go @@ -394,7 +394,7 @@ type HistogramResult struct { type QueryResult struct { Status int `json:"status,omitempty" description:"query status"` Error string `json:"error,omitempty" description:"debugging information"` - Workspace string `json:"workspace,omitempty" description:"workspace the query was performed against"` + Workspace string `json:"workspace,omitempty" description:"the name of the workspace where logs come from"` Read *ReadResult `json:"query,omitempty" description:"query results"` Statistics *StatisticsResult `json:"statistics,omitempty" description:"statistics results"` Histogram *HistogramResult `json:"histogram,omitempty" description:"histogram results"`