I want to insert data in influxdb through a txt file. But i want to send the time as well but as the precision rfc3339 format.
So i thought that this was the solution:
Txt file: cpu,host=server02 value=0.67 2020-03-31T15:00:00Z
Terminal: curl -i -XPOST ‘http://localhost:8086/write?db=test&precision=RFC3339’ --data-binary @InfluxData.txt
But if i do that i got the following error
Btw: if i don’t give a timestamp in the textfile it does log the data at the servertime so the link to the txt file is no problem.
Do anybody know if it is possible in the first place?
Thanks at advance!