Search results
Suggest a FeaturePDF

ElasticSearch

ElasticSearch is a distributed, RESTful search and analytics engine designed for handling a variety of data types, such as logs, metrics, search indexes, and application monitoring datasets. It is commonly used for real-time search, logging, analytics dashboards, and large-scale data ingestion.

Grab Credentials

To connect to ElasticSearch through Bold Data Hub, you must gather the required authentication details. ElasticSearch supports both API Key Authentication and Username/Password (Basic Auth) depending on how your cluster is configured.

Steps to obtain connection details

  1. Host & Port
    • For Elastic Cloud deployments, the host URL is provided in the cluster dashboard.
    • Example:
      • The port is usually 9200, unless otherwise configured.
  2. API Key Authentication
    • Open the Elastic Cloud Console.
    • Navigate to Management > Security > API Keys.
    • Click Create API Key.
    • Provide a suitable name (e.g., boldbi-access-key).
    • Copy the generated API Key and store it securely.
  3. Username/Password
    • Default username in Elastic Cloud is: elastic.
    • Reset or copy the password from Elastic Cloud under Security Settings.

Connection Properties

The config section in the YAML file accepts the following properties:

 ConnectorName: ElasticSearch
 host: hostname
 port: 9200
 api_key: api_key
 username: user
 password: password
 index_name: <indexname>
 page_size: 10000

Configure the Data Hub to Connect ElasticSearch

  1. Click the Bold Data Hub icon from the left navigation panel.

    Elastic search Data Hub - BoldBI

  2. Click Add Pipeline and enter a name for your new pipeline.

    Elastic search Data Hub - BoldBI

  3. Select the newly created pipeline and add the ElasticSearch template.

    Elastic search Data Hub - BoldBI

  4. Enter the host, port, credentials, and index_name in the template.

  5. Creating a Pipeline in Bold Data Hub automatically creates a Data Source in Bold BI. The Bold BI Data Source is a live data source to the destination database used in Bold Data Hub. For more information on the relationship between Bold Data Hub Pipeline and the associated Data Sources in Bold BI , please refer to Relationship between Bold Data Hub Pipeline and Associated Data Sources in Bold BI

  6. Click Save, then choose the destination database.

    Elastic Search - Data Hub

Warning:

  1. The Encrypt_Credentials property should be set to false when updating the new access token on the template. If you have modified other properties, such as ‘select’ or ‘account id’, the Encrypt_Credentials property must be set to true.

Schedule Data Hub Job

  1. To configure interval-based scheduling, click on the schedules tab and select the created pipeline and click on the schedule icon and configure it.

    Elastic Search - BoldBI

    Elastic Search - BoldBI

  2. For on-demand refresh, click Run Now button.

    Elastic Search - BoldBI.

  3. The Schedule history can be checked using the history option as well as logs.

    Elastic Search - BoldBI

  4. Click on Logs to see if the run is completed and data source is created in Bold BI.

    Elastic search - BoldBI

  5. Click Edit DataSource Option to view the created tables.