# Get storage usage based of query

**URL:** <https://discuss.elastic.co/t/get-storage-usage-based-of-query/182878>\
**Category:** Elasticsearch\
**Created:** [May 27, 2019, 9:53am UTC](https://discuss.elastic.co/t/get-storage-usage-based-of-query/182878 "2019-05-27T09:53:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadavrs](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nadavrs](https://discuss.elastic.co/u/nadavrs)\
**Post date:** [May 27, 2019, 9:53am UTC](https://discuss.elastic.co/t/get-storage-usage-based-of-query/182878/1 "2019-05-27T09:53:31Z")

</div>

Hi,  
Can I get the total amount of storage that documents take based on a query of certain field?  
I looked at the API documentation and only found it to be possible on the Cluster/Index level.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 24, 2019, 9:53am UTC](https://discuss.elastic.co/t/get-storage-usage-based-of-query/182878/2 "2019-06-24T09:53:34Z")

</div>

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