InfluxDB v1.7.x SSL Integration Guide
Review the following guide for setting up an integration between Manufacturing Connect Edge and an InfluxDB database (version 1.7 or 1.8) using SSL authentication.
Note: The following data types and formats are not viewable in InfluxDB:
- string
- char
- JSON payloads
In this guide InfluxDB is installed through a Docker image. You have several other options for the installation. See the following to learn more.
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:
- On your computer, open the command prompt window.
- 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, and also enabling SSL authentication:
Once you set up and configure InfluxDB to your specific requirements, you can complete the setup in Manufacturing Connect Edge.
Follow the steps to Add a Connector and select the DB - InfluxDB v1.7.x SSL 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.
- CA Certificate: Paste or upload the CA certificate required to access InfluxDB.
- Certificate: Paste or upload the SSL certificate.
- Private key: Enter or paste the SSL private key.
- 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.
After adding the connector, click the toggle in the connector tile to enable it.
If you see a Failed status, you can review the Connector Logs and relevant error messages.
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.
Access the InfluxDB database to ensure that data is being sent successfully from Manufacturing Connect Edge to the database.