Link to Elasticsearch/Cloud Search Service

Description

By creating an Elasticsearch link, you can extract data from or load data to the Elasticsearch server or Cloud Search Service.

Sample Link

{
  "links": [
    {
      "link-config-values": {
        "configs": [
          {
            "inputs": [
              {
                "name": "linkConfig.host",
                "value": "192.168.0.1:9200;192.168.0.2:9200"
              },
              {
                "name": "linkConfig.user",
                "value": "cdm"
              },
              {
                "name": "linkConfig.password",
                "value": "Add password here"
              },
              {
                "name": "linkConfig.linkType",
                "value": "ElasticSearch"
              }
            ],
            "name": "linkConfig"
          }
        ]
      },
      "name": "es_link",
      "connector-name": "elasticsearch-connector"
    }
  ]
}

Link Parameters

Parameter

Mandatory

Type

Description

linkConfig.host

Yes

String

List of one or more Elasticsearch servers, including the port number. The format is ip:port. Use semicolons (;) to separate multiple IP addresses. For example, 192.168.0.1:9200;192.168.0.2:9200.

linkConfig.user

No

String

For Elasticsearch that supports username and password authentication, configure the username and password when creating a link.

linkConfig.password

No

String

Password for accessing the Elasticsearch server

linkConfig.linkType

Yes

String

Link type, which is used to distinguish the Elasticsearch link from the Cloud Search Service link