Connect ElasticSearch with Bold Data Hub
The Bold Data Hub ElasticSearch connector loads data from an ElasticSearch cluster into Bold Reports®. ElasticSearch is a distributed, RESTful search and analytics engine that handles logs, metrics, search indexes, and application monitoring data. It is commonly used for real-time search, logging, analytics, and large-scale data ingestion.
What ElasticSearch credentials do I need?
The Bold Data Hub ElasticSearch connector needs the host, port, and authentication details of your cluster. ElasticSearch supports both API Key Authentication and Username/Password (Basic Auth), depending on how your cluster is configured.
Steps to obtain connection details
Gather these ElasticSearch connection details before you configure Bold Data Hub:
- Host & Port
- For Elastic Cloud deployments, the host URL is provided in the cluster dashboard.
- The port is usually 9200, unless otherwise configured.
- API Key Authentication
- Open the Elastic Cloud Console.
- Navigate to Management > Security > API Keys.
- Click Create API Key.
- Enter a suitable name (for example,
boldbi-access-key). - Copy the generated API Key and store it securely.
- Username/Password
- The default username in Elastic Cloud is: elastic.
- Reset or copy the password from Elastic Cloud under Security Settings.
Connection Properties
The ElasticSearch connector in Bold Data Hub reads the following properties from the config section of the YAML file:
ConnectorName**: ElasticSearch
host**: hostname
port**: 9200
api_key**: api_key
username**: user
password**: password
index_name**: <indexname>
page_size**: 10000How do I connect ElasticSearch in Bold Data Hub?
You connect ElasticSearch by creating a pipeline in Bold Data Hub and adding the ElasticSearch template to it.
-
Click the Bold Data Hub icon in the left navigation panel.

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

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

-
Enter the
host,port,credentials, andindex_namein the template. -
Click Save, then choose the destination database.

Creating a pipeline in Bold Data Hub automatically creates a data source in Bold Reports®. The Bold Reports® data source is a live data source to the destination database used in Bold Data Hub. For more information, see Relationship between Bold Data Hub Pipeline and Associated Data Sources in Bold BI.
Warning:
- The
Encrypt_Credentialsproperty 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’, theEncrypt_Credentialsproperty must be set to true.
How do I schedule the ElasticSearch pipeline?
You schedule the ElasticSearch pipeline in Bold Data Hub from the schedules tab, or you run it on demand.
-
To configure interval-based scheduling, click the schedules tab, select the created pipeline, click the schedule icon, and configure the schedule.


-
For an on-demand refresh, click the
Run Nowbutton.
-
Check the schedule history with the history option and the logs.

-
Click Logs to see whether the run is completed and the data source is created in Bold Reports®.

-
Click the
Edit DataSourceoption to view the created tables.
Frequently asked questions
Which authentication methods does the ElasticSearch connector support?
The Bold Data Hub ElasticSearch connector supports API Key Authentication and Username/Password (Basic Auth), depending on how your cluster is configured.
Which port does ElasticSearch use?
The port is usually 9200, unless your cluster is configured otherwise.