AWS Timestream query: How to extrapolate latest value

0

I have a number of devices that are pushing their measured values to AWS TS only when the values has changed. When I pull a graph of my devices history, I want to see all the values up until NOW... Which I don't have because the time series stop at the latest value that was recorded. Is there a way to extrapolate (with a query) the value at now() based on the last value?

已提問 2 年前檢視次數 253 次
2 個答案
0
已接受的答案

I solved my problem by adding the last known value at the end of the time series, before interpolating.

已回答 2 年前
0

Timestream query does not support extrapolation. Please check https://docs.aws.amazon.com/timestream/latest/developerguide/timeseries-specific-constructs.functions.interpolation.html to see if you can use the interpolation functions to help you get the data.

AWS
已回答 2 年前
profile picture
專家
已審閱 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南