Hello influxers,
I am starting using Influxdb a couple of weeks ago, and I started running some examples.
The MQTT plugging worked fine, however I am stuck with the csv file plugging.
I am sharing with you my csv file and config file and I will be glad of you can provide me with some hints why it doesn’t work.
example.csv:
measurement,cpu,time_user,time_system,time_idle,time
cpu,cpu0,42,42,42,2018-09-13T13:03:28Z
outputs.influxdb_v2.conf:
[[outputs.influxdb_v2]]
urls = [“https://eu-central-1-1.aws.cloud2.influxdata.com”]
Token for authentication.
token = “********************************************”
Organization is the name of the organization you wish to write to; must exist.
organization = “ahmed.gharsellaoui@eptender.com”
Destination bucket to write into.
bucket = “hsin_bucket”
[[inputs.file]]
files = [“example.csv”]
data_format = “csv”
csv_header_row_count = 1
csv_timestamp_column = “time”
csv_timestamp_format = “2006-01-02T15:04:05Z07:00”
The error code I always receive:
Thanks in advance