Discussion:
[influxdb] curl write old points works in influx 1.2.0 but does not work in 1.2.2
j***@gmail.com
2017-05-08 02:46:17 UTC
Permalink
I'm writing old values to do some analysis by mining logs for the points. I trimmed down the file I was writing to just a single point to show the problem.

I created a file with this in it with on additional line for the \n


1.influx
mymes,id=8f015fbf3258,serverID=eb1578cfb735,component=site,status=COMPLETED localTime=1484327700274i,jobRunTime=0i 1484327700274000000

I make a curl call like this
curl -i -XPOST http://localhost:8086/write?db=mydb --data-binary 1.influx

works in 1.2.0
master b7bb7e8359642b6e071735b50ae41f5eb343fd42 1.2.0



doesn't work 1.2.2
master 1bcf3ae74c6b9c4897dab68d513d056277eb24f7 1.2.2

No error and fails silently.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/edb78a61-2c21-4cfd-ad06-7f5b6888ba80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
j***@gmail.com
2017-05-08 11:53:01 UTC
Permalink
Post by j***@gmail.com
I'm writing old values to do some analysis by mining logs for the points. I trimmed down the file I was writing to just a single point to show the problem.
I created a file with this in it with on additional line for the \n
1.influx
mymes,id=8f015fbf3258,serverID=eb1578cfb735,component=site,status=COMPLETED localTime=1484327700274i,jobRunTime=0i 1484327700274000000
I make a curl call like this
curl -i -XPOST http://localhost:8086/write?db=mydb --data-binary 1.influx
works in 1.2.0
master b7bb7e8359642b6e071735b50ae41f5eb343fd42 1.2.0
doesn't work 1.2.2
master 1bcf3ae74c6b9c4897dab68d513d056277eb24f7 1.2.2
No error and fails silently.
correction on the curl call - (I forgot the @ sign)

curl -i -XPOST http://localhost:8086/write?db=mydb --data-binary @1.influx
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/e12aba78-16ba-47d5-8404-1cdbf20a78f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...