doc-exports/docs/dataartsstudio/api-ref/dataartsstudio_02_0276.html
Xiong, Chen Xiao 14a6d65e8c DataArts API 20240130 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
2024-03-01 11:46:15 +00:00

115 lines
7.8 KiB
HTML

<a name="dataartsstudio_02_0276"></a><a name="dataartsstudio_02_0276"></a>
<h1 class="topictitle1">Link to Elasticsearch/Cloud Search Service</h1>
<div id="body8662426"><div class="section" id="dataartsstudio_02_0276__en-us_topic_0108272849_section621837"><h4 class="sectiontitle">Description</h4><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p27768935">By creating an Elasticsearch link, you can extract data from or load data to the Elasticsearch server or Cloud Search Service.</p>
</div>
<div class="section" id="dataartsstudio_02_0276__en-us_topic_0108272849_section6163607716523"><h4 class="sectiontitle">Sample Link</h4><pre class="screen" id="dataartsstudio_02_0276__en-us_topic_0108272849_screen4261928102644">{
"links": [
{
"link-config-values": {
"configs": [
{
"inputs": [
{
"name": "linkConfig.host",
"value": "192.168.0.50:9200;192.168.0.62:9200"
},
{
"name": "linkConfig.safemode",
"value": "true"
},
{
"name": "linkConfig.user",
"value": "admin"
},
{
"name": "linkConfig.password",
"value": "Add password here."
},
{
"name": "linkConfig.linkType",
"value": "CSS"
}
],
"name": "linkConfig"
}
],
"extended-configs": {
"name": "linkConfig.extendedFields",
"value": "eyLodHRwc0FjY2VzcyI6InRydWUifQ=="
}
},
"name": "css-cdm-autotest-nodel",
"connector-name": "elasticsearch-connector"
}
]
}</pre>
</div>
<div class="section" id="dataartsstudio_02_0276__en-us_topic_0108272849_section5035508012043"><h4 class="sectiontitle">Link Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_02_0276__en-us_topic_0108272849_table13922888141527" frame="border" border="1" rules="all"><thead align="left"><tr id="dataartsstudio_02_0276__en-us_topic_0108272849_row229143141527"><th align="left" class="cellrowborder" valign="top" width="20.03%" id="mcps1.3.3.2.1.5.1.1"><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p66756185141527">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.099999999999998%" id="mcps1.3.3.2.1.5.1.2"><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p38541938141527">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.669999999999998%" id="mcps1.3.3.2.1.5.1.3"><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p34889279141527">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="42.199999999999996%" id="mcps1.3.3.2.1.5.1.4"><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p7459369141527">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_02_0276__en-us_topic_0108272849_row2725489141730"><td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p18261829141730">linkConfig.host</p>
</td>
<td class="cellrowborder" valign="top" width="21.099999999999998%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p2813219141730">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.669999999999998%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p26544197141730">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.199999999999996%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p10505843145433">List of one or more Elasticsearch servers, including the port number. The format is <em id="dataartsstudio_02_0276__en-us_topic_0108272849_i19124124884211">ip:port</em>. Use semicolons (;) to separate multiple IP addresses. For example, <strong id="dataartsstudio_02_0276__en-us_topic_0108272849_b20255101314319">192.168.0.1:9200;192.168.0.2:9200</strong>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0276__en-us_topic_0108272849_row18306104593219"><td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p15717750193216">linkConfig.safemode</p>
</td>
<td class="cellrowborder" valign="top" width="21.099999999999998%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p571715506328">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.669999999999998%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p19717145019324">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="42.199999999999996%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p17717550133216">If you select the security authentication mode, you must enter the username and password, and choose whether to enable HTTPS access.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0276__en-us_topic_0108272849_row1076119219183"><td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p107618216186">linkConfig.user</p>
</td>
<td class="cellrowborder" valign="top" width="21.099999999999998%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p19761112141817">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.669999999999998%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p18293152252611">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.199999999999996%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p167615210188">For Elasticsearch that supports username and password authentication, configure the username and password when creating a link.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0276__en-us_topic_0108272849_row142925541817"><td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p1929213551813">linkConfig.password</p>
</td>
<td class="cellrowborder" valign="top" width="21.099999999999998%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p18292185101814">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.669999999999998%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p199112392615">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.199999999999996%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p1629219515187">Password for accessing the Elasticsearch server</p>
</td>
</tr>
<tr id="dataartsstudio_02_0276__en-us_topic_0108272849_row195835288232"><td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.3.2.1.5.1.1 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p55831328202315">linkConfig.linkType</p>
</td>
<td class="cellrowborder" valign="top" width="21.099999999999998%" headers="mcps1.3.3.2.1.5.1.2 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p5583228202310">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.669999999999998%" headers="mcps1.3.3.2.1.5.1.3 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p15763246269">String</p>
</td>
<td class="cellrowborder" valign="top" width="42.199999999999996%" headers="mcps1.3.3.2.1.5.1.4 "><p id="dataartsstudio_02_0276__en-us_topic_0108272849_p16583162820239">Link type, which is used to distinguish the Elasticsearch link from the Cloud Search Service link</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="link_parameter.html">Link Parameter Description</a></div>
</div>
</div>