2 Home
gitea_admin edited this page 2026-03-11 14:35:59 +00:00

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.

Metadata

Property Value
Type sink
Group ElasticSearch
Namespace Search
Support Level Stable
Provider Apache Software Foundation

Properties

Name Type Required Default Description
user string The username to connect to ElasticSearch.
password string The password to connect to ElasticSearch.
enableSSL boolean true Specifies to connect by using SSL.
hostAddresses string A comma-separated list of remote transport addresses in ip:port format.
clusterName string The name of the ElasticSearch cluster.
indexName string The name of the ElasticSearch index.
certificate string The Certificate for accessing the Elasticsearch cluster. You must encode this value in base64.

Dependencies

  • camel:core
  • camel:jackson
  • camel:kamelet
  • camel:elasticsearch
  • camel:gson
  • camel:bean