Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter type for elasticsearch
type Options ¶
type Options struct { // Host is the hostname of the elasticsearch instance Host string `yaml:"host" validate:"required_without=IP"` // IP for elasticsearch instance IP string `yaml:"ip" validate:"required,ip"` // Port is the port of elasticsearch instance Port int `yaml:"port" validate:"gte=0,lte=65535"` // SSL (optional) enables ssl for elasticsearch connection SSL bool `yaml:"ssl"` // SSLVerification (optional) disables SSL verification for elasticsearch SSLVerification bool `yaml:"ssl-verification"` // Username for the elasticsearch instance Username string `yaml:"username" validate:"required"` // Password is the password for elasticsearch instance Password string `yaml:"password" validate:"required"` // IndexName is the name of the elasticsearch index IndexName string `yaml:"index-name" validate:"required"` HttpClient *retryablehttp.Client `yaml:"-"` }
Options contains necessary options required for elasticsearch communication
Click to show internal directories.
Click to hide internal directories.