I am trying to post data to influxdb from data that I'm receiving from Kafka.
I have extracted the fields from my JSON messages and stored them in variables. I am trying to post these variables to InfluxDB. However I keep getting a "bad time stamp" error. I am unsure of what i am doing wrong. Any input would be appreciated. I have included the details below: url = 'http://localhost:8086/write?db=mydb' headers = {'Content-Type': 'application/x-www-form-urlencoded'} data='series_name,device=devicename,interface='+str(interface)+' value='+str(value)+' typeof='+str(typeof)+' '+str(time)+'\n' r=requests.post(url, data=data,headers=headers) Here, interface, value and timeoff are JSON extracted values. -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+unsubscr...@googlegroups.com. To post to this group, send email to influxdb@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/54e4e06f-316a-49bd-b63b-df3f7e8ead58%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.