Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elasticsearch ¶
type Elasticsearch struct { config.PluginConfig Instances []*Instance `toml:"instances"` }
func (*Elasticsearch) Clone ¶
func (r *Elasticsearch) Clone() inputs.Input
func (*Elasticsearch) GetInstances ¶
func (r *Elasticsearch) GetInstances() []inputs.Instance
func (*Elasticsearch) Name ¶
func (c *Elasticsearch) Name() string
type Instance ¶
type Instance struct { config.InstanceConfig Local bool `toml:"local"` Servers []string `toml:"servers"` HTTPTimeout config.Duration `toml:"http_timeout"` ClusterHealth bool `toml:"cluster_health"` ClusterHealthLevel string `toml:"cluster_health_level"` ClusterStats bool `toml:"cluster_stats"` IndicesInclude []string `toml:"indices_include"` IndicesLevel string `toml:"indices_level"` NodeStats []string `toml:"node_stats"` Username string `toml:"username"` Password string `toml:"password"` NumMostRecentIndices int `toml:"num_most_recent_indices"` tls.ClientConfig // contains filtered or unexported fields }
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
Click to show internal directories.
Click to hide internal directories.