第 22 章 ElasticSearch Index Sink


Stores JSON-formatted data into ElasticSearch.

The input data must be formatted in JSON according to the requirements of the index.

If you specify the certificate property, you must base64 encode it before you pass it as a parameter.

In the header, you can set the following properties:

  • indexId / ce-indexid: The index ID for ElasticSearch.
  • indexName / ce-indexname: The index name for ElasticSearch.

If you do not set a property in the header, the Kamelet uses the exchange ID for the index setting.

22.1. Configuration Options

The following table summarizes the configuration options available for the elasticsearch-index-sink Kamelet:

Expand
PropertyNameDescriptionTypeDefaultExample

clusterName *

ElasticSearch Cluster Name

The name of the ElasticSearch cluster.

string

 

quickstart

hostAddresses *

Host Addresses

A comma-separated list of remote transport addresses in ip:port format.

string

 

quickstart-es-http:9200

certificate

Certificate

The Certificate for accessing the Elasticsearch cluster. You must encode this value in base64.

string

  

enableSSL

Enable SSL

Specifies to connect by using SSL.

boolean

True

 

indexName

Index in ElasticSearch

The name of the ElasticSearch index.

string

 

data

password

Password

The password to connect to ElasticSearch.

string

  

user

Username

The username to connect to ElasticSearch.

string

  

* = Fields marked with an asterisk are mandatory.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部