Add an open source Elasticsearch data source

更新时间:
复制 MD 格式

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 an open source Elasticsearch data source in DataV.

Prerequisites

An open source Elasticsearch data source is ready to use.

Limits

This feature is available only in DataV Enterprise Edition and later versions.

Add an open source Elasticsearch data source

  1. Access the DataV console.

  2. On the Workbench page, click Data Preparation > Data Source in the navigation pane on the left. On the Data Source page, click New Data Source.

  3. From the Type drop-down list, select Open Source Elasticsearch.

  4. Enter the information for the open source Elasticsearch DataService Studio project.

    Parameter

    Description

    Name

    The display name for the data source. You can enter a custom name.

    Domain name

    The endpoint for connecting to the data source.

    Important

    The endpoint must be a domain name or IP address that the DataV server can access over the public network or 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.

    After you configure the parameters, the system automatically tests the connection.

  5. Enter the information and click OK to add the data source.

    The new data source appears in the data source list.

Use an open source Elasticsearch data source

  1. Access the DataV console.

  2. On the Workbench page, hover over the data dashboard you want to edit and click Edit.

    Important

    If you haven't created a data dashboard on your Workbench page, please see Create a PC Dashboard Using a Template for guidance on creating one.

  3. On the canvas editing page, select a widget from the canvas.

    If your canvas lacks widgets, please add them first. For more information, see Widget Canvas Operations.

  4. In the widget configuration panel on the right, select Data Source.

    image

  5. In the Set Data Source section, set Data Source Type to Open Source Elasticsearch.

  6. Select the configured open source Elasticsearch data source from the Select Existing Data Source list.

  7. In the index field, enter the index to query.

  8. In the Query field, enter the query body as a JSON object.

  9. Click View Data Response.

What to do next

After you obtain the raw data, see Configure a widget data source to adapt the data for your widgets.

FAQ

For more information, see FAQ about data source configuration and usage.