Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elasticsearch ¶
type Elasticsearch struct { *core.BaseOutput `mapstructure:"-"` URLs []string `mapstructure:"urls"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` ServiceToken string `mapstructure:"service_token"` // Service token for authorization; if set, overrides username/password. APIKey string `mapstructure:"api_key"` // Base64-encoded token for authorization; if set, overrides username/password and service token. CloudID string `mapstructure:"cloud_id"` CertificateFingerprint string `mapstructure:"cert_fingerprint"` // SHA256 hex fingerprint given by Elasticsearch on first launch. EnableCompression bool `mapstructure:"enable_compression"` DiscoverInterval time.Duration `mapstructure:"discover_interval"` RequestTimeout time.Duration `mapstructure:"request_timeout"` IdleTimeout time.Duration `mapstructure:"idle_timeout"` PipelineLabel string `mapstructure:"pipeline_label"` RoutingLabel string `mapstructure:"routing_label"` DataOnly bool `mapstructure:"data_only"` Operation string `mapstructure:"operation"` *tls.TLSClientConfig `mapstructure:",squash"` *batcher.Batcher[*core.Event] `mapstructure:",squash"` *retryer.Retryer `mapstructure:",squash"` // contains filtered or unexported fields }
func (*Elasticsearch) Close ¶
func (o *Elasticsearch) Close() error
func (*Elasticsearch) Init ¶
func (o *Elasticsearch) Init() error
func (*Elasticsearch) Run ¶
func (o *Elasticsearch) Run()
type TransportLogger ¶
type TransportLogger struct {
// contains filtered or unexported fields
}
func (*TransportLogger) LogRoundTrip ¶
func (*TransportLogger) RequestBodyEnabled ¶
func (l *TransportLogger) RequestBodyEnabled() bool
func (*TransportLogger) ResponseBodyEnabled ¶
func (l *TransportLogger) ResponseBodyEnabled() bool
Click to show internal directories.
Click to hide internal directories.