Skip to main content

influx

Defines the configuration required to write data to Influx.


InfluxDB v1.8.x

important

Requires at least InfluxDB 1.8.3

Example for Influx v1:

influx:
url: http://localhost:8086
database: evcc
# user:
# password:

InfluxDB v2.x

Example for Influx v2:

influx:
url: http://localhost:8086
database: evcc # InfluxDB v2.x uses the term `bucket`, but for compatibility, it's still named `database` here
token: 1234567890abcdef
org: home

HTTPS with Self-Signed Certificate

When using HTTPS (https://), the TLS certificate is verified by default. If you're using a self-signed certificate, certificate verification can be disabled:

For example:

influx:
url: https://influxdb.example.com:8086
database: evcc
token: 1234567890abcdef
org: home
insecure: true

VictoriaMetrics

VictoriaMetrix is a time series database with InfluxDB compatible REST API.

HTTP basic authentication can be done via the URL.

Example for VictoriaMetrics:

influx:
url: http://[username:password@]victoria-metrics:8428