package
8.9.0+incompatible
Repository: https://github.com/elastic/elastic-agent-shipper.git
Documentation: pkg.go.dev

# Functions

NewElasticSearch creates a new elasticsearch output.

# Variables

WatchDegraded corresponds to a degraded state.
WatchRecovered corresponds to a recovered state.

# Structs

Backoff represents connection backoff settings.
Config specifies all configurable parameters for the Elasticsearch output.
ElasticSearchOutput handles the Elasticsearch output connection.
ESHealthWatcher monitors the ES connection and notifies if a failure persists for more than failureInterval seconds.
Event is a wrapper type for beat events the events that ES expects contain an @timestamp at the root evel.

# Interfaces

ConnectionMetrics is an interface type for ES transport metrics.

# Type aliases

WatchReporter is a callback that the watcher will call whenever the output has reached a degraded state, or recovered from a degraded state.
WatchState represents the state of the output at the time the WatchReporter callback was made.