package
7.6.0+incompatible
Repository: https://github.com/axw/beats.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BulkReadItemStatus reads the status and error fields from the bulk item.
BulkReadToItems reads the bulk response up to (but not including) items.
DeregisterConnectCallback deregisters a callback for the elasticsearch output specified by its key.
DeregisterGlobalCallback deregisters a callback for the elasticsearch output specified by its key.
NewClient instantiates a new client.
NewConnectedClient creates a new Elasticsearch client based on the given config.
NewElasticsearchClients returns a list of Elasticsearch clients based on the given configuration.
NewJSONReader returns a new JSONReader initialized with in.
RegisterConnectCallback registers a callback for the elasticsearch output The callback is called each time the client connects to elasticsearch.
RegisterGlobalCallback register a global callbacks.

# Variables

ErrJSONEncodeFailed indicates encoding failures.
ErrNotConnected indicates failure due to client having no valid connection.
ErrResponseRead indicates error parsing Elasticsearch response.

# Structs

No description provided by the author
Client is an elasticsearch client.
ClientSettings contains the settings for a client.
Connection manages the connection for a given client.
CountResults contains the count of results.
Hits contains the hits.
SAX like json parser.
QueryResult contains the result of a query.
SearchResults contains the results of a search.
Total contains the number of element fetched and the relation.

# Type aliases

BulkResult contains the result of a bulk API request.
ConnectCallback defines the type for the function to be called when the Elasticsearch client successfully connects to the cluster.
MetaBuilder creates meta data for bulk requests.