Error: Connect URI is wrong
Hi, I got this error when trying to import the csv file
root@foxy-01:/home/csv2influx# csv2influx --c csv2influx.conf.json test.csv
Reading csv2influx.conf.json
ok
checking format
ok
lines count:8
Connecting to http://user:[email protected]:8086
Error: Connect URI is wrong, eg: http://user:pass@localhost:port,anotherhost:port,yetanother:port/mydatabase
at new Client (/usr/lib/node_modules/csv2influx/node_modules/influxdb-nodejs/lib/client.js:73:13)
at Promise (/usr/lib/node_modules/csv2influx/importer.js:94:22)
at new Promise (
Hey, @budakgigibesi, you forgot to specify database to write
It should be http://user:[email protected]:8086/database
@budakgigibesi did it help?