Index size and doc_count of a customer or field filter

Hi, i have one index where i store documents from different customerid differentiated but a customerid field.

I want to know how many documents and storage size each customer is consuming in my index, I can see this for all the index but how can i get an aggregate by customerid of numbers of document and storage size?

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