package
6.8.16+incompatible
Repository: https://github.com/tencentblueking/beats.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
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.
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.
QueryResult contains the result of a query.
SearchResults contains the results of a search.
# Type aliases
MetaBuilder creates meta data for bulk requests.