Elasticsearch

Destination Connector

Overview

Elasticsearch

This Destination Connector uses the Elasticsearch Bulk API that is compatible with Elasticsearch version 7 and 8. The bulk API performs multiple indexing operations in a single API call in order to reduce overhead and greatly increase indexing speed.

Prerequisites

  1. If the Elasticsearch security features are enabled, you must have create, index and write privileges for the target index.
  2. To automatically create an index with a bulk API request, you must have the auto_configure, create_index, or manage index privilege. Note that the Elasticsearch Connector supports both indexing into an existing index as well as a new index.
  3. To make the result of a bulk operation visible to search using the refresh parameter, you must have the maintenance or manage index privilege.
  4. To connect to your Elasticsearch cluster with default authentication and TLS security features enabled, you need to configure the client to use the generated root CA certificate that can be found in the certs directory in your Elasticsearch config location (e.g. $ES_CONF_PATH/certs/http_ca.crt).

Authentication

The following authentication options are supported by this connector:

Authentication MethodSupportedDocumentation
NoneyesEndpoint must be http://
Username/PasswordyesHTTP basic authentication
API KeyyesToken-based authentication services

Configuration

FieldRequiredDescriptionExample
Server EndpointyesIP Address or Hostname of Elasticsearch Cluster. Must start with http:// or https://https://acmeco.ip.es.io:9200
Index Name or PatternyesIndex Name with optional datetime patternmy-index
my-index-%{+YYYY.MM.dd}
my-index-%{+YYYY.MM.dd.HH.mm.SS}
CA CertificatenoGenerated Root CA Certificate. Required when the endpoint is https-----BEGIN RSA PRIVATE KEY---- MIIEczCCA1ugAwIBAgIB...
-----END RSA PRIVATE KEY-----