Transfer object
The following properties can be configured:
| Property | Description |
|---|---|
| InfluxDB 2.0/3.0 & Cloud | InfluxDB 2.0/3.0 & Cloud plug-in instance to be used |
| Measurement Series | Dynamic: A static measurement series must be configured in the transfer object. This setting should be used when data is to be written to only one measurement series. |
| Timestamp Source | InfluxDB: When receiving data, the InfluxDB server uses its own server time (UTC) as the timestamp. If batch writing is enabled, this timestamp source should not be used. See: #choosing-the-timestamp-source-for-batched-writing OPC Router (UTC): During transfer, the time from the OPC Router server is set as the timestamp in UTC. Dynamic: At runtime, a custom timestamp can be provided. If possible, this is converted to UTC. |
| Null Handling | Error: The transfer is aborted with an error if a value is zero. Omit value: Zero values are not written to the database. If all fields are zero and no tags are defined, nothing is written to the database. Insert and Discard: The value is discarded and nothing is written to the database. No error is triggered. Replace Value: A null value is replaced with a specified value. |
| Tag keys | Tags assigned to the written value. Tags help filter and classify the data. Additionally, different tags prevent identical values from being grouped together. |
| Field keys | Names for the fields into which values are written at runtime— |
| Type | Data type of a field |
| Default | Default value of a field. Note: This column is only available if “Discard” is selected for null handling. |
Measurement series, tags, and fields that have not yet been used are automatically created by the InfluxDB server and do not need to be created beforehand.
Selecting the Timestamp Source for Batch Writing
InfluxDB should not be used as a timestamp source when large amounts of data are transferred via batch writing, as this can lead to data loss. If InfluxDB is used as the timestamp source, timestamps are not set until the data is received. Since batch inserts send large amounts of data to the InfluxDB database nearly simultaneously, this can result in the aggregation of values that are processed by InfluxDB within the same nanosecond. It is recommended to use the OPC Router as the timestamp source or to set the timestamp yourself using the “Dynamic” option.