Hi,
Is there a good way to report query results back to elastic for weekly/monthly/yearly aggregations ?
Best regards,
Shirly Radco
Hi,
Is there a good way to report query results back to elastic for weekly/monthly/yearly aggregations ?
Best regards,
Shirly Radco
You can use a date_histogram
aggregation [1] on order to group the data based on time intervals and then as a child aggregation you can then add another aggregation (for example max, min etc.) that then computes statistics per interval.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.