# Get a size of query

**URL:** <https://discuss.elastic.co/t/get-a-size-of-query/143970>\
**Category:** Elasticsearch\
**Created:** [August 11, 2018, 10:21am UTC](https://discuss.elastic.co/t/get-a-size-of-query/143970 "2018-08-11T10:21:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raouf.berrebiha](https://avatars.discourse-cdn.com/v4/letter/r/e9bcb4/32.png) [@raouf.berrebiha](https://discuss.elastic.co/u/raouf.berrebiha)\
**Post date:** [August 11, 2018, 10:21am UTC](https://discuss.elastic.co/t/get-a-size-of-query/143970/1 "2018-08-11T10:21:01Z")

</div>

Hi  
I have an issue with my index. The index take a lot of memory disk about 64gb for one index and i want to debug how many of memory take packet beat for example to optimize my parser is there any tips to get a idea of how many disk memory just for packetbeat .  
Ps: the number of shards is 4

---

<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:** [September 8, 2018, 10:21am UTC](https://discuss.elastic.co/t/get-a-size-of-query/143970/2 "2018-09-08T10:21:04Z")

</div>

Closed on September 8, 2018, 10:21am UTC

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