---
title: Configure the Timeseries DB
slug: bhdo/configure-the-timeseries-db
createdAt: 2023-05-08T18:12:55.000Z
---

Depending on the version of Belden Horizon Data Operations you have, refer to the appropriate section to configure the timeseries DB.&#x20;

# Belden Horizon Data Operations Version 3.3.2 and Earlier

You can configure the Timeseries DB by navigating to **DataHub&#x20;**>**&#x20;Configuration**.&#x20;

DataHub's Configuration module offers the following functionalities:

- Toggle the Timeseries DB
- Select and Customize Timeseries DB Source type
- Test Timeseries DB

## Toggle the Timeseries DB

You can enable or disable the Timeseries DB by using the **Timeseries DB disabled** or **Timeseries DB enabled** toggle.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/bhz6U3TsuLi0QaP-VL0Bi_datahub-toggle.png" size="80" width="1258" height="447" caption="Timeseries DB toggle" position="center" showCaption="true"}

## Select and Customize Timeseries DB Source Type

You can change the Timeseries DB source type by using the Source type drop-down list and selecting internal or external.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Qbs0E6bkWsj4qmsrgl3ef_datahub-source-type.png" size="80" width="1258" height="447" caption="Source type drop-down list" position="center" showCaption="true"}

If you select *external&#x20;*&#x65;nter the following details:

- **DB uri**: The IP address and port of the externally deployed influxdb database.
- **DB username&#x20;**(Optional): The username login credential of the externally deployed influxdb.
- **DB password&#x20;**(Optional): The password login credential of the externally deployed influxdb.
- **DB vendor**: The available vendors are
  - influxdb v1.x
  - influxdb v2.x
- **Description&#x20;**(Optional): A description for the externally deployed influxdb
- **Name**: The configuration name of the externally deployed influxdb

## Test the Timeseries DB

You can test the connectivity of the Timeseries DB by clicking **Test**.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/HbA6yiNfJWsLj2EC0QHUs_test-button.png" size="80" width="1258" height="447" caption="The test Timeseries DB button" position="center" showCaption="true"}

The connected status and response message displays.

# Belden Horizon Data Operations Version 3.5.2 and Later

:::hint{type="warning"}
**Important**: The DataHub (Legacy) configuration page will be removed in a future release. You will need to create new configurations and migrate existing DataHub (Legacy) configurations to the new DataHub page.&#x20;
:::

You can configure the Timeseries DB by navigating to **DataHub&#x20;**>**&#x20;DataHub**.&#x20;

You can only configure an external InfluxDB timeseries database.&#x20;

DataHub's Configuration module offers the following functionalities:

- Toggle the Timeseries DB
- Select and Customize Timeseries DB Source type
- Test Timeseries DB

## Toggle the Timeseries DB

You can enable or disable the Timeseries DB by using the **Timeseries DB disabled** or **Timeseries DB enabled** toggle.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/gxzoBL6hFFlmCthOEBsV0_image.png" size="80" width="1141" height="517" caption="Timeseries DB toggle" position="center" showCaption="true"}

## Configure the Timeseries DB

After enabling the Timeseries DB toggle, configure the parameters for the database.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/e5PCJe7q7ZGydIWaznHZW_image.png" size="80" width="1141" height="517" caption="Timeseries DB fields" position="center" showCaption="true"}

- **DB uri**: The IP address and port of the externally deployed influxdb database.
- **DB vendor**: Selec&#x74;**&#x20;InfluxDB v2.x&#x20;**&#x6F;&#x72;**&#x20;InfluxDB v1.x**.
- **Description&#x20;**(Optional): A description for the externally deployed influxdb.
- **Name**: The configuration name of the externally deployed influxdb.&#x20;

Click **Test&#x20;**&#x74;o test the connectivity of the database. When done, click **Save**.&#x20;
