offset
Parameters
The offset for the tumbling window. The offset
parameter accepts the following:
The offset time. For example, if you specify
18h
foroffset
and1d
forinterval
, AWS IoT SiteWise aggregates data in one of the following ways:If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric.
If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day.
The ISO 8601 format. For example, if you specify
PT18H
foroffset
and1d
forinterval
, AWS IoT SiteWise aggregates data in one of the following ways:If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric.
If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day.
The 24-hour clock. For example, if you specify
00:03:00
foroffset
,5m
forinterval
, and you create the metric at 2 PM (UTC), you get the first aggregation result at 2:03 PM (UTC). You get the second aggregation result at 2:08 PM (UTC).The offset time zone. For example, if you specify
2021-07-23T18:00-08
foroffset
and1d
forinterval
, AWS IoT SiteWise aggregates data in one of the following ways:If you create the metric before or at 6 PM (PST), you get the first aggregation result at 6 PM (PST) on the day when you create the metric.
If you create the metric after 6 PM (PST), you get the first aggregation result at 6 PM (PST) the next day.