๐Setting up a ElasticSearch Connector
ElasticSearch connector
This connector is used to connect to an ElasticSearch source.
Data provider configuration
Fill in your connection details here (think about adding a host to get all necessary fields):
NAME
: A meaningful name that will allow you to recognize the configured connector. mandatory
ElasticSearchHost
URL
: The URL of your ElasticSearch server mandatoryPORT
: The port number of your ElasticSearch serverSCHEME
: The connection scheme to use (e.g., "http" or"https"). mandatoryUSERNAME
: The username to use for the authentication (if required)PASSWORD
: The password for the authentication (if required)HEADERS:
this field allows you to specify a dictionary of additional HTTP headers in the requests. It defaults toNone
, meaning that no additional headers are included by default.
The purpose of including headers in your Elasticsearch configuration could vary, but some common use cases include:
Authorization: If your Elasticsearch server requires specific authorization headers, you can include them here.
Content-Type: You might include headers specifying the content type of the request, such as "application/json" if your queries are in JSON format.
Custom Headers: Any other custom headers that your Elasticsearch server might expect for specific functionalities or integrations.
Once youโre done, hit the SAVE
button.
Data source configuration
Letโs configure your first query.
Start by clicking on the ADD A QUERY
button in your connector:
Then, fill out the required fields:
SearchMethod: Select wether โsearchโ or โmsearchโ (for multiple search)
Index: Type the index of your ElasticSearch from which you want to extract data
Configuration type: select โType 1โ
Body: enter your query within a Json format (see an example below)
Last updated