You were right, it is the aggregation.
I'm not sure how to address this though, is there a way to debug/verbose the aggregation?
© 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.