For data insertion, I’m aware of following API :
curl -i -XPOST “http://localhost:8086/write?db=weather&rp=temp” --data-binary ‘temperature,location=1 value=90 1472666050000000000\ntemperature,location=2 value=90 1472666050000000000’
In above example, two points will be added in temp.
Now In following case, I want to insert following data :
temperature,location=1 value=90 1472666050000000000\nhumidity,location=1 value=40 1472666050000000000
in such a way that :
temperature,location=1 value=90 1472666050000000000 goes into retention temp
and
humidity,location=1 value=40 1472666050000000000 goes into retention humid
Is it possible to this in single API call ?