How-To Guides
Integration Guides

InfluxDB v1.7.x TCP Integration Guide

10min

Review the following guide for setting up an integration between Manufacturing Connect Edge and an InfluxDB database (version 1.7 or 1.8).

Note: The following data types and formats are not viewable in InfluxDB:

  • string
  • char
  • JSON payloads

User Scenario

In this guide InfluxDB is installed through a Docker image. You have several other options for the installation. See the following to learn more.

Step 1: Set up InfluxDB

You will first need to pull an InfluxDB image file and then run it on your computer. For this guide InfluxDB version 1.8.0 is pulled.

To set up InfluxDB:

  1. On your computer, open the command prompt window.
  2. Run the following command. docker run --name influxdb -p 8086:8086 influxdb:1.8.0 The command will create the InfluxDB container with the name "influxdb", on port 8086, and install InfluxDB version 1.8.0.

Once the InfluxDB container is running, refer to the following to learn more about setting up and configuring InfluxDB:

Once you set up and configure InfluxDB to your specific requirements, you can complete the setup in Manufacturing Connect Edge.

Step 2: Add Device



Step 3: Add Tags



Step 4: Add the InfluxDB TCP Connector

Follow the steps to Add a Connector and select the DB - InfluxDB v1.7.x TCP provider.

Configure the following parameters.

  • Name: Enter a name for the connector.
  • InfluxDB address: Enter the InfluxDB database address and port in the following format: http://<InfluxDB address>:<port>.
  • InfluxDB database name: Enter the database name configured in the InfluxDB setup in Step 1.
  • Username (Optional): Enter a username to access the database.
  • Password (Optional): Enter the password associated with the username.
  • Insert batch size: Enter the number of messages to be collected as a batch before inserting into the database.
  • Insert batch commit time: The batch commit time in seconds.
  • Throttling limit: The maximum number of messages per second to be processed. The default value is zero, which means that there is no limit.
  • Persistent storage: When enabled, this will cause messages to undergo a store-and-forward procedure. Messages will be stored within Manufacturing Connect Edge when cloud providers are online.
  • Queue Mode: Select the queue mode as lifo (last in first out) or fifo (first in first out). Selecting lifo means that the last data entry is processed first, and selecting fifo means the first data entry is processed first.

Step 5: Enable the Connector

After adding the connector, click the toggle in the connector tile to enable it.

Document image


If you see a Failed status, you can review the Connector Logs and relevant error messages.

Step 6: Create Topics for Connector

You will now need to import the tags you added in Step 3 to the connector as topics.



After adding all required topics, navigate to the Integration overview page and ensure the connector is not disabled and still shows a CONNECTED status.

Step 7: Enable Topics



Step 8: Verify Connection

Access the InfluxDB database to ensure that data is being sent successfully from Manufacturing Connect Edge to the database.