---
title: DataHub
slug: litmusedge-v1/product-features/datahub
description: The DataHub module allows you to store data polled from the connected devices with data storage enabled. A variety of data formats are supported.
docTags: 
createdAt: 2022-03-30T21:10:59.000Z
---

The DataHub module allows you to store data polled from connected DeviceHub devices with data storage enabled.&#x20;

To store data, you must select the **Enable Data Store** option for the device you want to store data for. You have the option of storing data for a specific period of time to support analytics on the historic data in the **Retention Hours** field. See [Enable Data Store](docId:3eyAfPpweuVmBLCEy17sq) to learn more.&#x20;

Litmus Edge stores the polled data in a NoSQL timeseries database.

:::hint{type="info"}
**Limitation**: When using DataHub for storing data polled from connected devices, it's important to note the following limitations:

- InfluxDB initialization for large databases takes a long time with high CPU utilization. Ensure the Litmus Edge device has sufficient computing resources.
- DataHub does not store custom-formatted driver output like JSON or arrays to ensure efficient NoSQL timeseries database handling.
- DataHub handles string values differently than integers. As a result, when querying stored data, the way string and integer values are handled can impact the structure and results of your query.
  Sample Influx Query:
  - **For String Values:&#x20;**`SELECT "value_str" FROM "temperature_readings" WHERE ("value_str"::field = 'pressure') AND $timeFilter`
  - **For Integer Values:** `SELECT "value" FROM "temperature_readings" WHERE ("value"::field = 555) AND $timeFilter`
:::

Depending on the version of Litmus Edge you are using, you will see one of the following UI configurations.&#x20;

# Litmus Edge Version 3.3.2 (and Earlier) and 3.11.0 (and Later)

You have the option of configuring an internal or external InfluxDB timeseries database.&#x20;

The DataHub UI is divided into three panes:

- **Configuration***:&#x20;*&#x54;oggle the timeseries database, change source type, and perform additional customizations.&#x20;
- **DB Management**: Expand a database view to display your connected devices, remove specific data storage for a connected device, and delete the timeseries database.
- **DB Users**: Add and delete database users, reset a user's password, add privileges to a user, as well as view the user list.

# Litmus Edge Version 3.5.2, 3.5.3, 3.5.5, and 3.5.6

You can only configure an external InfluxDB timeseries database from the **DataHub&#x20;**> **DataHub&#x20;**&#x70;ane. You can't configure an internal InfluxDB timeseries database.&#x20;

The *DB Management* and *DB Users&#x20;*&#x70;anes don't apply to the database configured from the **DataHub&#x20;**> **DataHub&#x20;**&#x70;ane.

:::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 DataHub page.&#x20;
:::

# Next Steps

- [Configure the Timeseries DB](docId\:V0B5qmjOQnp8qvVIaI7iT)
- [DB Management](docId\:C_t7MlcO8-NY6OUvR2CV7)&#x20;
- [DB Users](docId\:Up8d2DklbKDMlK5nWAJBB)&#x20;

