Documentation ¶
Index ¶
- type ClientV5
- type ClientV6
- type ClientV7
- type Elasticsearch
- func (es *Elasticsearch) CountOverTime(filter *events.Filter, interval string) (*events.Histogram, error)
- func (es *Elasticsearch) SearchEvents(filter *events.Filter, from, size int64, sort string) (*events.Events, error)
- func (es *Elasticsearch) StatisticsOnResources(filter *events.Filter) (*events.Statistics, error)
- type Error
- type Hits
- type Options
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elasticsearch ¶
type Elasticsearch struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(options *Options) (*Elasticsearch, error)
func (*Elasticsearch) CountOverTime ¶
func (*Elasticsearch) SearchEvents ¶
func (*Elasticsearch) StatisticsOnResources ¶
func (es *Elasticsearch) StatisticsOnResources(filter *events.Filter) (*events.Statistics, error)
type Error ¶
type Hits ¶
type Hits struct { Total int64 `json:"total"` Hits jsoniter.RawMessage `json:"hits"` }
Click to show internal directories.
Click to hide internal directories.