Categorygithub.com/elgohr/mqtt-to-influxdb
modulepackage
0.0.7
Repository: https://github.com/elgohr/mqtt-to-influxdb.git
Documentation: pkg.go.dev

# README

mqtt-to-influxdb

Bridge to write MQTT to InfluxDB.

Install

Please have a look at the binaries in https://github.com/elgohr/mqtt-to-influxdb/releases

Usage

Mandatory Configuration

Environment VariableDescription
MQTT_NAMEName that the bridge will use on mqtt
MQTT_URLMQTT Broker URL
MQTT_USERNAMEUsername for authentication
MQTT_PASSWORDPassword for authentication
Environment VariableInfluxDb < 2.0InfluxDb 2.0
INFLUX_URLUrl to the InfluxDBUrl to the InfluxDB
INFLUX_TOKENuse "username:password"Token for authentication
INFLUX_ORGANIZATIONleave emptyOrganization to use
INFLUX_BUCKETuse database nameBucket to use

Optional

Environment VariableDescription
INFLUX_RETRY_INTERVALRetry interval for writing to InfluxDB in Milliseconds (max 4294967295)
INFLUX_MAX_RETRIESNumbers of retries for writing to InfluxDB
INFLUX_BATCH_SIZENumber of points send in a single request to InfluxDB

# Packages

No description provided by the author
No description provided by the author
No description provided by the author