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.
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.

boldbi-access-key).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: 10000version: 1.0.1
encrypt_credentials: false
direct_target_import: false
union_all_tables: true
add_dbname_column: false
direct_load_to_destination: true
use_snake_casing: true
set_not_null_as_primary_key: false
plugins:
extractors:
- name: es
connectorname: ElasticSearch
schemaname:
config:
host: https://e7024573e1574eaf8f2677593082e16e9.us-central1.gcp.cloud.es.io
port: 443
# Authentication (use either API Key OR Username & Password)
api_key: essu_VG5SVWVUSTFjMEowUmxKQ01GZHB0OMjVuZDJvNlZVaDVTSE0zWlRCS2FIVnRhMFl5U210amRHdDJkdz09AAAAAPLMXaY=
# username: elastic
# password: password@123
index_name: index
page_size: 10000
properties:
metadata:
select:

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

Select the newly created pipeline and add the ElasticSearch template.

Enter the ElasticSearch connection and authentication details.
Note: If both API Key and Username/Password are provided, the Username/Password will be used.
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
Click Save, then choose the destination database.

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.

Run Now button.
.


Edit DataSource Option to view the created tables.Having trouble getting help?
Contact SupportHaving trouble getting help?
Contact Support