Influxdb2 and HE integration

@afshin.mashayekhi and @ronv42, I have gotten this to work using the 1.x compatibility API system.

You need to use the influx CLI to set it up.
First you create a bucket in the Influx web interface you want to use.
Then you have to create a DBRP mapping: influx v1 dbrp create | InfluxDB OSS 2.2 Documentation

If you have not setup the CLI with a saved config, you need to include the org and token. You get the bucket ID and operator token from the web admin.

influx v1 dbrp create \
  --bucket-id 12ab34cd56ef \
  --db example-db \
  --rp autogen \
  --default \
  --org example-org \
  --token operator_token

Then you need to create a v1 auth with write access: influx v1 auth create | InfluxDB OSS 2.2 Documentation

influx v1 auth create \
  --write-bucket 00xX00o0X001 \
  --username example-user \
  --org example-org \
  --token operator_token

Once that is done you should be able to fill in the blanks on the logger app and it will be able to connect. It is currently running for me:

4 Likes