Loading

Self-managed connectors

Naming history

Self-managed connectors were initially known as "connector clients". You might find this term in older documentation.

Self-managed Elastic connectors are run on your own infrastructure. This means they run outside of your Elastic deployment.

You can run the connectors service from source or from a Docker container.

We also have a quickstart option using Docker Compose, to spin up all the required services at once: Elasticsearch, Kibana, and the connectors service. Refer to Docker Compose quickstart for more information.

Note

Self-managed connectors currently don’t support Windows. Use this compatibility matrix to check which operating systems are supported by self-managed connectors. Find this information under self-managed connectors on that page.

Data source prerequisites

The first decision you need to make before deploying a connector is which third party service (data source) you want to sync to Elasticsearch. Note that each data source will have specific prerequisites you’ll need to meet to authorize the connector to access its data. For example, certain data sources may require you to create an OAuth application, or create a service account.

You’ll need to check the individual connector documentation for these details.

The connector service is a Python application that you must run on your own infrastructure when using self-managed connectors. The source code is hosted in the elastic/connectors repository.

You can run the connector service from source or use Docker:

These examples use the PostgreSQL connector but the basic process is the same for all self-managed connectors.

The connector framework enables you to run end-to-end (E2E) tests on your self-managed connectors, against a real data source.

To avoid tampering with a real Elasticsearch instance, E2E tests run an isolated Elasticsearch instance in Docker. Configuration values are set in your docker-compose.yml file. Docker Compose manages the setup of the development environment, including both the mock Elastic instance and mock data source.

E2E tests use default configuration values for the connector. Find instructions about testing in each connector’s documentation.

The Elastic connector framework enables you to:

  • Customize existing self-managed connectors.
  • Build your own self-managed connectors.

Refer to Build and customize connectors for more information.