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?

preguntada hace 2 años253 visualizaciones
2 Respuestas
0
Respuesta aceptada

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

respondido hace 2 años
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
respondido hace 2 años
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas