Inserting Measurements

Edited on May 10, 2017

The following command line will create a measurement with the name myMeasurementName, with an epoch start time of 1494428139000, a value of 1234 and flag it with the logical group name myMeasurementGroup.

 

curl localhost:8099/rtm/rest/ingest/structured/myMeasurementGroup/1494428139000/myMeasurementName/1234

 

You can also attach as much aditional custom data as you wish in order to flag your measurement or perform filtering or grouping in your analysis later on. Just append comma-separated key-value pairs like such:

 

curl localhost:8099/rtm/rest/ingest/structured/myMeasurementGroup/1494428139000/myMeasurementName/1234/client=127.0.0.1;user=john

 

Native connectors with direct access to the DB are also available for higher performance, just ask.