Elasticsearch is an Enterprise Edition functionality.
The most important thing is to configure the way Kestra connects to the Elasticsearch cluster.
Here is a minimal configuration example:
kestra: elasticsearch: client: http-hosts: "http://localhost:9200" repository: type: elasticsearch
Here is another example with a secured Elasticsearch cluster with basic authentication:
kestra: elasticsearch: client: http-hosts: - "http://node-1:9200" - "http://node-2:9200" - "http://node-3:9200" basic-auth: username: "<your-user>" password: "<your-password>" repository: type: elasticsearch
false, if you enable this option, we trust all certificate during connection. Useful for development server with self-signed certificate.
kestra: elasticsearch: client: http-hosts: "https://localhost:9200" trust-all-ssl: true
This configuration allows to change the indices prefix. By default, the prefix will be
For example, if you want to share a common Elasticsearch cluster for multiple instances of Kestra, add a different prefix for each instance like this:
kestra: elasticsearch: defaults: indice-prefix: "uat_kestra"
This configuration allows to change indices settings created by kestra, example:
kestra: elasticsearch: defaults: indices: index.number_of_replicas: 0