3.16.3.7. InfluxDB V2

From the Edit Historian Connection window you can select InfluxDB V2.

Connection Settings

Label

A unique text string used to identify this connection. This label is used to identify the connection when configuring store and forward, and to create the database name or retention policy in some historians, like InfluxDB. The label can contain only letters, numbers and the underscore ( _ ) character.

InfluxDB URL

The URL for the InfluxDB database.

Bucket Name

Your organization's InfluxDB bucket where you will store your data.

API Token

Your InfluxDB authentication token.

Measurement Name

The InfluxDB measurement name to use. If it does not exist, the DataHub instance will create it. If this is left blank, a measurement name of DataPoints will be used.

Organization Name

The organization name configured for your InfluxDB account.

Accumulation time (ms)

The number of milliseconds that the DataHub instance will buffer data in memory before sending it to InfluxDB. Setting this value to zero means that no accumulation time will be enforced.

[Note]

The DataHub instance writes data by batches to InfluxDB. You can change the batching behaviour with these settings. If both this value and Maximum # of buffered values (below) are specified, then the DataHub instance will write all buffered values to InfluxDB whenever the first of these two limits is reached.

Maximum # of buffered values

The maximum number of values that the DataHub instance will buffer in memory before transmitting them to InfluxDB. Setting this value to zero means that no values will be buffered.

Read-only - do not write to database

Prevents the DataHub instance from writing to the InfluxDB data set.

Log writes at information level

Checking this option causes messages regarding successful writes to the database to be logged at the Information level in the DataHub Event Log. If this is not checked then these messages are logged at the Debug level and are therefore normally hidden from the user.

Retention Settings

How long the data is retained in InfluxDB.

The DataHub instance creates its own database and retention policy to store the information it collects. If the database already exists, the DataHub instance will use it. The DataHub instance will create a retention policy named database_name.label where database is the database name you provide, and label is the connection label.

You can set the retention time to any number of days from 0.042 (about 1 hour) to 1491308. If you set the retention time to 0, the retention time will be infinite.

Retention time (days)

The number of days that data will be retained. Data older than this limit will be deleted daily.

Modify Point Names, Data Sampling and Forwarding

Please see Modify Point Names, Data Sampling or Forwarding in Connection Configuration for how to configure these options.

Once you have completed the InfluxDB V2-specific configuration, you can return to Picking Points in General Options to continue.