From a windows command prompt i'm attempting to enter 2 points on a single line, but I always get a parsing error.
If I try to separate the points with a \r\n, I get the same parse error
INSERT temperature,location=cityname value=-6.01 1575378000temperature,location=cityname value=-5.99 1575381600
ERR: {"error":"unable to parse 'temperature,location=cityname value=-6.01 1575378000temperature,location=cityname value=-5.99 1575381600': bad timestamp"}
Anyone have any experience with doing multi point inserts?
Update: using a file as input with curl
.$ curl -i -XPOST 'http://myserver:8086/write?db=testing' --data-binary @example.txt
HTTP/1.1 400 Bad Request
Content-Type: application/json
Request-Id: f005e1c8-1613-11ea-82ff-00155d0968c8
X-Influxdb-Build: OSS
X-Influxdb-Error: unable to parse 'temperature,location=cityname value=-6.00 1575378000 ': bad timestamp unable to parse 'temperature,location=cityname value=-5.00 1575381600 ': bad timestamp
X-Influxdb-Version: 1.7.7
X-Request-Id: f005e1c8-1613-11ea-82ff-00155d0968c8
Date: Tue, 03 Dec 2019 21:29:07 GMT
Content-Length: 189
{"error":"unable to parse 'temperature,location=cityname value=-6.00 1575378000\r': bad timestamp\nunable to parse 'temperature,location=cityname value=-5.00 1575381600\r': bad timestamp"}
example.txt file contents:
temperature,location=cityname value=-6.00 1575378000
temperature,location=cityname value=-5.00 1575381600