Load data from csv into Influxdb

#1

I want to load data from csv file to influxdb. Is there any equivalent approach to following sql query ?

SQL Query: LOAD DATA INFILE ‘sample.csv’ INTO TABLE sampleTable FIELDS TERMINATED BY ‘,’ LINES TERMINATED BY ‘\n’;

#2

Hi @aditya,

You van let Telegraf do the work :slight_smile:

Please have a look here ,
Have a Nice weekend !

CSV file data into InfluxDB via Telegraf