Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents the kibana client
func NewClient ¶
NewClient returns a new Kibana API client. If a nil httpClient is provided, a new http.Client will be used. To use API methods which require authentication, provide an http.Client that will perform the authentication for you (such as that provided by the golang.org/x/oauth2 library).
type Config ¶
type Config struct { // base address of kibana Address string }
Config represents the client configuration.
type Discover ¶
type Filter ¶
type Filter struct { State State `json:"$state"` Meta FilterMeta `json:"meta"` Query FilterQueryMeta `json:"query"` }
type FilterMeta ¶
type FilterParams ¶
type FilterQueryMeta ¶
type FilterQueryMeta struct {
Match map[string]FilterParams `json:"match"`
}
type RefreshInterval ¶
type RefreshInterval struct { Pause bool `json:"pause"` // contains filtered or unexported fields }
type SearchFields ¶
type SearchSource ¶
type SearchSource struct { Time *TimeFields Search SearchFields }
type TimeFields ¶
type TimeFields struct { Refresh RefreshInterval `json:"refreshInterval"` Time TimeRange `json:"time"` }
Click to show internal directories.
Click to hide internal directories.