An Elasticsearch connection allows you to read data from and write data to Elasticsearch by using Elasticsearch Reader and Writer. You can configure sync nodes for Elasticsearch by using the codeless user interface (UI) or code editor.
- Go to the Data Source page.
- Log on to the DataWorks console.
- In the left-side navigation pane, click Workspaces.
- In the top navigation bar, select the region where the target workspace resides. Find the target workspace and click Data Integration in the Actions column.
- On the page that appears, click Connection in the left-side navigation pane. The page appears.
- On the Data Source page, click Add a Connection in the upper-right corner.
- In the Add data source dialog box, click Elasticsearch in the NoSQL section.
- In the Add Elasticsearch data source dialog box, set the parameters as required.
Parameter Description Data Source Name The name of the connection. The name can contain letters, digits, and underscores (_). It must start with a letter. Description The description of the connection. The description can be up to 80 characters in length. Environment The environment in which the connection is used. Valid values: Development and Production.Note This parameter is available only when the workspace is in the standard mode. Endpoint The endpoint of Elasticsearch, in the format of
User name The username that you can use to connect to the database. Password The password that you can use to connect to the database.
- Click Test Connection in the Actions column of each resource group.
A sync node only uses one resource group. Therefore, you must test the connectivity of all the resource groups for Data Integration that your sync nodes use to connect to the data store so that sync nodes can run properly. For more information, see Test data store connectivity.
- After the connection passes the connectivity test, click Complete.