Mindsphere 48 hour monitoring

Hello everyone,   Currently i’m working on a project for fun and i run into a problem. When i try to visualize the data  coming from Mindsphere ( value of an aspect)  it only shows the last 15 or 16 minutes. How can I set up a “filter?” to show more than 15 minutes?   Basically this is the microflow I use to get the data and i use a line chart to visualize it and the time series filter.
3 answers

There is a limit on the timeseries api. It will return max 2000 values.
Depending on the frequency of your data ingest this could be the reason why you only see 15 min.
If you want to visualize the 48h you could also use the aggregates api.
See also 
there the timeseries and aggregates api is used.

Or just use the aggregate Chart from the WebComponent from here:
It does all the heavy lifting...


I suspect the input parameter values aren't making it correctly to the URL parameters in the REST call. What's happening in DS_TimeSeriesDateFromToParameter? It may be helpful to log exactly what URL (and params) are being sent to MindSphere.


Let me add it here aswell


'from='+formatDateTime(parseDateTime(formatDateTimeUTC($TimeSeriesFilter/From, 'MM/dd/yyyy''T''HH:mm:ss.SSS'), 'MM/dd/yyyy''T''HH:mm:ss.SSS'), 'yyyy-MM-dd''T''HH:mm:ss.SSS''Z''')
'&to='+formatDateTime(parseDateTime(formatDateTimeUTC($TimeSeriesFilter/To, 'MM/dd/yyyy''T''HH:mm:ss.SSS'), 'MM/dd/yyyy''T''HH:mm:ss.SSS'), 'yyyy-MM-dd''T''HH:mm:ss.SSS''Z''')