Elasticsearch

Elasticsearch source connector

Used to read data from Elasticsearch.

support version >= 2.x and <= 8.x.

Key featuresarrow-up-right

name
type
required
default value

hosts

array

yes

-

username

string

no

-

password

string

no

-

index

string

yes

-

source

array

no

-

query

json

no

{"match_all": {}}

scroll_time

string

no

1m

scroll_size

int

no

100

tls_verify_certificate

boolean

no

true

tls_verify_hostnames

boolean

no

true

array_column

map

no

tls_keystore_path

string

no

-

tls_keystore_password

string

no

-

tls_truststore_path

string

no

-

tls_truststore_password

string

no

-

common-options

no

-

hosts [array]arrow-up-right

Elasticsearch cluster http address, the format is host:port, allowing multiple hosts to be specified. Such as ["host1:9200", "host2:9200"].

username [string]arrow-up-right

x-pack username.

password [string]arrow-up-right

x-pack password.

index [string]arrow-up-right

Elasticsearch index name, support * fuzzy matching.

source [array]arrow-up-right

The fields of index. You can get the document id by specifying the field _id.If sink _id to other index,you need specify an alias for _id due to the Elasticsearch limit. If you don't config source, it is automatically retrieved from the mapping of the index.

array_column [array]arrow-up-right

The fields of array type. Since there is no array index in es,so need assign array type,just like {c_array = "array<tinyint>"}.

query [json]arrow-up-right

Elasticsearch DSL. You can control the range of data read.

scroll_time [String]arrow-up-right

Amount of time Elasticsearch will keep the search context alive for scroll requests.

scroll_size [int]arrow-up-right

Maximum number of hits to be returned with each Elasticsearch scroll request.

tls_verify_certificate [boolean]arrow-up-right

Enable certificates validation for HTTPS endpoints

tls_verify_hostname [boolean]arrow-up-right

Enable hostname validation for HTTPS endpoints

tls_keystore_path [string]arrow-up-right

The path to the PEM or JKS key store. This file must be readable by the operating system user running Nexus.

tls_keystore_password [string]arrow-up-right

The key password for the key store specified

tls_truststore_path [string]arrow-up-right

The path to PEM or JKS trust store. This file must be readable by the operating system user running Nexus.

tls_truststore_password [string]arrow-up-right

The key password for the trust store specified

common optionsarrow-up-right

Source plugin common parameters, please refer to Source Common Options for details

simple

complex

SSL (Disable certificates validation)

SSL (Disable hostname validation)

SSL (Enable certificates validation)

Last updated