Product Features
DataHub
4 min
the datahub module allows you to store data polled from connected devicehub devices with data storage enabled 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 connect a device docid 3eyafppweuvmblcey17sq to learn more litmus edge stores the polled data in a nosql timeseries database 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 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 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 the datahub ui is divided into three panes configuration toggle the timeseries database, change source type, and perform additional customizations 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 > datahub pane you can't configure an internal influxdb timeseries database the db management and db users panes don't apply to the database configured from the datahub > datahub pane 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 next steps configure the timeseries db docid\ v0b5qmjoqnp8qvviai7it db management docid\ c t7mlco8 ny6ouvr2cv7 db users docid\ up8d2dklbkdmlk5nwajbb