add a es client for auditing, events, and logging
Signed-off-by: wanjunlei <wanjunlei@yunify.com>
This commit is contained in:
@@ -21,7 +21,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type Interface interface {
|
||||
type Client interface {
|
||||
GetCurrentStats(sf SearchFilter) (Statistics, error)
|
||||
CountLogsByInterval(sf SearchFilter, interval string) (Histogram, error)
|
||||
SearchLogs(sf SearchFilter, from, size int64, order string) (Logs, error)
|
||||
|
||||
Reference in New Issue
Block a user