I have a colleciton in Elastic Search where we store events, and aggregate these in reports such as:
For information, DocumentDB does now support Aggregates (as of March 8th 2017), for the following operations:
SUM
and AVG
for numeric values, COUNT
, MIN
, and MAX
over numbers, strings, Booleans, and nulls.
Official Microsoft documentation has been updated, and can be found here.
Please note that Grouping support has not been added to Aggregate Functions; a User Voice issue has been opened to request this, and can be upvoted here.