Is it possible to query the latest datapoint in kairosdb for a specific tag?

79 Views Asked by At

I am trying to get the latest datapoint for a specific tag say device_id : 101 without knowing when the last datapoint might have come in. It could be 10 minutes ago or 10 days ago. How can I get the last datapoint without specifying the time range ? Is there a way to do this in KairosDB ?

1

There are 1 best solutions below

1
cadmaster On BEST ANSWER

One option would be to use a wide time interval (say last year) and use the query property limit and the aggregator last.