csv2influx
csv2influx copied to clipboard
A CLI tool for importing CSV files into Influxdb
Not sure how to create a pull request for this; but this works for me to parse a "MM/DD/YYYY" date. ``` const moment = require('moment'); function parseValue(recordValue, mappingObject) { if(mappingObject.format...
Hi, This is a great tool. But I encountered with a problem, after csv data imported into the series, I noticed that 'show tag keys' will return empty thereafter. I...
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...
It would be pretty cool if there were an option to replace NULL values with a predefined one such as 0 in the config file. One of the csv files...

It just fails on my machine 
Guess it would be useful to be able to set number of CSV-rows to import to DB. Something like: `csv2influx --rows 100 --config airQuality.conf.json airQuality.csv`
I want to type `csv2influx -v` to get version because sometimes you just need to know it :) @rozetko maybe you would find time to make it
In quiet mode progress bar ends at (n-1)/n, where n is linesCount. We can create progressBar with total: linesCount-1 or function countFileLines should return linesCount-1.
This csv would break importing ```csv Date Of Stop,Time Of Stop,Agency,SubAgency,Description 08/28/2017,23:12:00,MCP,"3rd district, Silver Spring","PEDESTRIAN FAIL TO OBEY ""UPRAISED HAND"" SIGNAL" ```