Description
The Influx Database sender allows metrics to be sent from 1Gateway into a defined database in InfluxDB through an HTTP POST. The messages will appear as measurement in the timeseries database.
Prerequisites
Installation
1 - Login
Login to 1gateway, and make sure you are in "Advanced mode". If this is the first time you log in, the default user and password are both 'admin' (without the quotes).
2 - System Maintenance
Click on the menu icon and choose the option "System maintenance"
3 - Upload file
In the System maintenance view you can either drag and drop the downloaded zip file or select it by clicking the "choose file" button.
4 - Restart
After the upload installation will be confirmed. Restart 1Gateway to ensure any locked files are updated.
Configuration
Open the main menu and click on "New plugin"
Select the plugin you want to configure. Use the Filter field if needed.
Field name | Supported values | Description |
---|
InfluxDB server | Valid ip address or hostname | InfluxDB server |
Port number | Valid port number | InfluxDB port number |
Database name | Any string | InfluxDB database name |
Advanced configuration
The advanced configuration has a bulk size field, which defines how many messages to send in a transaction. By default, the bulk size is 10.
See also