connectors
connectors copied to clipboard
Allow connecting to ES with Cloud ID
Problem Description
According to official ES client docs: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/connecting.html#connect-ec
We recommend using a Cloud ID whenever possible because your client will be automatically configured for optimal use with Elastic Cloud including HTTPS and HTTP compression
Proposed Solution
Include cloud id option in our config.yml and pass it to the ES client
Alternatives
We could keep it as it is, but cloud id is an established way to connect to ES and we should also support it
Additional Context
See discussion: https://github.com/elastic/connectors/pull/2861#discussion_r1788247189