Convert influxdb config from v2 to v1

Hi, I’m trying to migrate from Influxdb v2 to Victoria Metrics which accepts data from the influxdb integration, however (I think) it requires v1 format.

Until recently, this would’ve been easy - just edit configuration.yaml and change api_version from 2 to 1. Now, however, the api_version is not specifiable in configuration.yaml. I’ve tried using the new GUI configurator for influxdb by removing the orgnization, bucket and token settings (i.e. hoping it would recognize it as a v1 config), but was unsuccessful.

Has anyone encountered this? Would appreciate any guidance. Plenty of docs to go from v1 to v2, but none the other way.

I suppose I can delete the integration then add back with a fresh config?

There was previous discussion you may find relevant.

Thanks @IOT7712 . I discovered I should be able to export data via the prometheus integration and leave influxdb untouched.

See Prometheus - Home Assistant