Product Features
DataHub
Configure the Timeseries DB
10 min
depending on the version of litmus edge you have, refer to the appropriate section to configure the timeseries db video 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 litmus edge version 3 3 2 (and earlier) and 3 11 0 (and later) you can configure the timeseries db by navigating to datahub > configuration you have the option of configuring an internal or external influxdb timeseries database 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 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 note if you select internal, make sure to select the enable data store option for the device you want to store data for see connect a device docid 3eyafppweuvmblcey17sq to learn more if you select external enter the following details db uri the ip address and port of the externally deployed influxdb database if the influxdb database is deployed on the same device as litmus edge, enter http //localhost 8086 db username enter the influx db v1 x username db password enter the influx db v1 x password auth token copy the token for the influxdb 2 x database you can access the database from a browser window and navigate to data > tokens organization name enter the influxdb 2 x organization name configured for the database db vendor the available vendors are influxdb v1 x influxdb v2 x description (optional) enter a description for the externally deployed influxdb name enter a name for the externally deployed influxdb if you select internal , no further configurations are required test the timeseries db you can test the connectivity of the timeseries db by clicking test the connected status and response message displays litmus edge version 3 5 2, 3 5 3, 3 5 5, and 3 5 6 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 you can configure the timeseries db by navigating to datahub > datahub you can only configure an external influxdb timeseries database 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 external timeseries db by using the timeseries db disabled or timeseries db enabled toggle configure the timeseries db after enabling the timeseries db toggle, configure the parameters for the database db uri the ip address and port of the externally deployed influxdb database db vendor select influxdb v2 x or influxdb v1 x description (optional) a description for the externally deployed influxdb name the configuration name of the externally deployed influxdb click test to test the connectivity of the database when done, click save