Add an open source Elasticsearch data source
You can use an open source Elasticsearch data source with DataV to display data analytics and search results on a large screen. This topic describes how to add and use this type of data source.
Prerequisites
You must have an open source Elasticsearch data source.Add an open source Elasticsearch data source
Log on to the DataV console.
On the My Data tab, select Data Source Management and click Add Data.
- From the Type list, select Open Source Elasticsearch.
- Enter the connection information for the open source Elasticsearch data source.
Parameter Description Name A custom display name for the data source. Domain Name The endpoint used to connect to the data source. Important The endpoint must be a domain name or IP address that the DataV server can access over the internet or through the internal network of some Alibaba Cloud regions.Username The username used to log on to the data source. Password The password used to log on to the data source. Port The port number of the data source. The system automatically tests the connection after you configure the parameters.
- After you enter the information, click OK to add the data source.
The new data source automatically appears in the data source list.
Use the open source Elasticsearch data source
Log on to the DataV console.
On the My Visualization page, hover the pointer over the visualization application that you want to edit, and then click Edit.
ImportantIf you do not have any visualization applications on the My Visualization page, create one. For more information, see Create a PC visualization application using a template.
On the canvas editor page, click a widget on the canvas.
If the canvas does not have any widgets, add one. For more information, see Add an asset.
In the configuration panel for the widget on the right, click the Data tab, and then click Configure Data Source.
- On the Set Data Source page, set Data Source Type to Open Source Elasticsearch.
- From the Select Existing Data Source list, select your open source Elasticsearch data source.
- In the index field, enter the name of the index to query.
- In the Query field, enter the query body. The query body must be a JSON object.
- Click Preview Data Source Response to view the returned data.