What are "window" and "function" in the Reporting endpoint?

"Window" is the fixed interval of time by which data is grouped and processed for queries. "Function" refers to the different ways of viewing grouped data as a single data point that represents a time window.

Our Reporting endpoint gives you the ability to customize how your data is aggregated by filtering ("filter"), grouping order ("group_by") and results aggregation time window ("window").

Window is the fixed interval of time by which data is grouped and processed for queries. A longer window will smooth out data from outlying data points. 

Function refers to the different ways of viewing grouped data as a single data point that represents a time window. Options available: max, min and sum.

Recommended settings: For maximum efficiency, we recommend setting window to 5m, and function to max.