Insights Hub latestValue and latestRecord while querying TimeSeries Data

2021-07-16T08:53:05Z
APIs & Services

Summary


Details

I want to query my time series data but i don't know which parameter should i choose from filters.

https://developer.mindsphere.io/apis/iot-iottimeseries/api-iottimeseries-api-swagger-3-4-1.html

Solution

  • "LatestValue " flag is actually designed for customers who have not sent data for a very long time and want to quickly check what was the last data they inserted. In the backend it actually looks for the aggregated data (which is roughly 2 hrs delayed this is also mentioned in documentation) hence we observe the time difference. 
    • On the other hand "latestRecord " is the last inserted record by the customer it is fetched from RAW data store. For customer who are ingesting data with normal frequency (i.e. on a regular basis) such customers should user this functionality.

      If you don't set latestValue flag, you will get latest records.

      Notes

      KB Article ID# PL8555040

      Contents

      SummaryDetails

      Associated Components

      IoT Time Series Service