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?

gefragt vor 2 Jahren253 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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

beantwortet vor 2 Jahren
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
beantwortet vor 2 Jahren
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen