Run aggregation separately on time based indices

I have time based indices in Elasticsearch of an index and I want to run aggregation separately for every index. Is it possible ? There is any way to tell Elasticsearch not to run aggregation on whole data of all time indices in combined rather than run separately and return separate result or combined result with index specification? Mainly, I want to run terms aggregation and cardinality aggregation.

You would need to specify the indices manually, maybe a Multi Search API can help to sent the requests to different indices within a single request.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.