Supported syncing
Connect to Elasticsearch
Go to the Destinations overview page and click the Add destination button. Select Elasticsearch and click Continue. You can then authenticate Hightouch to Elasticsearch either with an Elasticsearch Cloud ID and API key or via optional basic authentication.Authenticate with an Elasticsearch Cloud ID and API key
You can find your Cloud ID in your Elasticsearch deployment. To generate an API key, follow these steps in the Elasticsearch docs.Authenticate with basic authentication
Enter the following fields into Hightouch:- Protocol: Select the protocol used for connecting to Elasticsearch. This is either
HTTPorHTTPS. - Host: The hostname or IP address of your Elasticsearch server.
- Port: The port number of your Elasticsearch server’s HTTP API. The default is 9200, but yours may be different.
- Username: This can be your personal Elasticsearch login or a dedicated user for Hightouch.
- Password: The password for the user specified above.
Sync configuration
Once you’ve set up your Elasticsearch destination and have a model to pull data from, you can set up your sync configuration to begin syncing data. Go to the Syncs overview page and click the Add sync button to begin. Then, select the relevant model and the Elasticsearch destination you want to sync to.Syncing to an index
An Elasticsearch index is the place where the data used by a search engine is stored. You can use Hightouch to update individual documents in an index.Record matching
To match rows from your model to documents in Elasticsearch, you need to select a model column and corresponding Elasticsearch field. You can match on any Elasticsearch field.Field mapping
You can sync data to both existing fields and fields that don’t yet exist in Elasticsearch. If you send data to a field that doesn’t exist yet, Hightouch adds the field and automatically detects its type.Delete behavior
The delete behavior you select dictates what to do when a row no longer appears in your model’s query results. You have the following options:Tips and troubleshooting
To see the exact API requests and responses from each sync run, use the live debugger. To get notified by Slack, PagerDuty, SMS, or email when a sync fails, set up sync alerts. If you run into an issue this page doesn’t cover, .For Hightouch platform error codes related to Elasticsearch, see Error codes: Elasticsearch.