export-csv-to-influx icon indicating copy to clipboard operation
export-csv-to-influx copied to clipboard

argument error

Open MASIFAYUB opened this issue 3 years ago • 1 comments

it asks for --dbname while I am using it for influxdbv2.1 with a provided bucket, org, and token id.

image

MASIFAYUB avatar Feb 21 '22 08:02 MASIFAYUB

Hello @MASIFAYUB

The lib just upgrade to 0.2.0, please use the latest lib to support the influx2.x: pip install ExportCsvToInflux --upgrade

You may find more guide here: https://github.com/Bugazelle/export-csv-to-influx/blob/master/README.md

export_csv_to_influx \
  --csv demo.csv \
  --org my-org \
  --bucket my-bucket \
  --measurement demo \
  --tag_columns url \
  --field_columns response_time \
  --token YourToken \
  --server 127.0.0.1:8086

Bugazelle avatar Mar 12 '22 13:03 Bugazelle