Add InfluxDB Application
Use InfluxDB to egress data from FactoryTalk Edge Gateway. FactoryTalk Edge Gateway supports InfluxDB 2.x Open Source and InfluxDB Cloud versions. Set the InfluxDB configuration settings.
Perform the following steps to add an InfluxDB Application:
- In the top-right corner, select Online to go online with the gateway. FactoryTalk Edge Gateway displays a green banner: Gateway Connection: Online.
- Select Data Flow > Applications.
- To add the first application, select Add Application.
- To add a subsequent application, select Add.
- From Select Application, select InfluxDB.
- Select Next.
- Set these parameters:
- Application Name: Defines the application name.
- URL address: Enter URL address.
- Port: Select the applicable port. The default port for InfluxDB 2.x Open Source on-premise version is 8086. The default port for HTTPS connection in InfluxDB Cloud version is 443.
- Organization Name: Enter the organization name created in the InfluxDB.
- Bucket Name: Enter the Bucket Name created in the InfluxDB.
- Token: Enter the Token created in the InfluxDB.
- Max buffer size in bytes: Select the Max buffer size from drop-down list.
- Max time-out in milliseconds: Select the Max time-out from drop-down list.
- Store and forward: Stores the data entering the application in a database on the gateway. This setting also functions as a buffer for data entering the store database at higher speeds than it is forwarding to the application. A maximum of 256 KB of data is fetched from the store database at each configured fetch interval. Select Store and Forward to enable the Maximum store size (bytes) and Fetch Interval (ms) settings. In case connectivity is lost to the external application, having Store and Forward enabled avoids periods of lost data to InfluxDB. Store and Forward keeps data stored in the database until the connection is restored.
- Maximum store size (bytes): This setting defines the maximum size of the store database on the gateway, in bytes. When the maximum store size is reached, the oldest data is deleted to make space for new application data. Select Store and Forward to enable this setting.
- Maximum fetch size (bytes): This setting defines the maximum size of data to fetch from the store database at each configured fetch interval. Select Store and Forward to enable this setting.
- Fetch Interval (ms): This setting defines the interval of time to egress (that is, forward) data from the store database, in milliseconds. Data continues to be egressed to the InfluxDB application until the store database is empty. When egress fails, the data remains in the store database. Select Store and Forward to enable this setting.
- Aggressive Database Cleaning: Select to delete 50% of the oldest data from the store when maximum store size is exceeded.
- Select Save.
Provide Feedback