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’;
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’;
Hi @aditya,
You van let Telegraf do the work
Please have a look here ,
Have a Nice weekend !
CSV file data into InfluxDB via Telegraf - #9 by RichardLucas