Elasticsearch
Descriptionâ
Output data to Elasticsearch
.
Key featuresâ
tip
Engine Supported
- supported
ElasticSearch version is >= 2.x and < 8.x
Optionsâ
name | type | required | default value |
---|---|---|---|
hosts | array | yes | - |
index | string | yes | - |
index_type | string | no | |
username | string | no | |
password | string | no | |
max_retry_size | int | no | 3 |
max_batch_size | int | no | 10 |
hosts [array]â
Elasticsearch
cluster http address, the format is host:port
, allowing multiple hosts to be specified. Such as ["host1:9200", "host2:9200"]
.
index [string]â
Elasticsearch
index
name.Index support contains variables of field name,such as seatunnel_${age}
,and the field must appear at seatunnel row.
If not, we will treat it as a normal index.
index_type [string]â
Elasticsearch
index type, it is recommended not to specify in elasticsearch 6 and above
username [string]â
x-pack username
password [string]â
x-pack password
max_retry_size [int]â
one bulk request max try size
max_batch_size [int]â
batch bulk doc max size
Examplesâ
Elasticsearch {
hosts = ["localhost:9200"]
index = "seatunnel-${age}"
}