# Find Segment memory By Field

**URL:** https://discuss.elastic.co/t/find-segment-memory-by-field/152554
**Category:** Elasticsearch
**Created:** [October 15, 2018, 7:51pm UTC](https://discuss.elastic.co/t/find-segment-memory-by-field/152554 "2018-10-15T19:51:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![djtecha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djtecha/32/54011_2.png) [@djtecha](https://discuss.elastic.co/u/djtecha)
#### Post date: [October 15, 2018, 7:51pm UTC](https://discuss.elastic.co/t/find-segment-memory-by-field/152554/1 "2018-10-15T19:51:33Z")

</div>

I understand that I can get the semement memory per index in elasticsearch, but is there a way to get the breakdown by field? It would be very useful if I could get the layout of an index and determine if a specific field has a large memory utilization.

This gives me the fielddata in the cache, but I want the field data in the index segments:  
GET \_nodes/stats/indices/fielddata?fields=\*

Something like:  
GET \_nodes/stats/indices/segments?fields=\*

---

<div class="post-metadata">

### Author: ![djtecha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djtecha/32/54011_2.png) [@djtecha](https://discuss.elastic.co/u/djtecha)
#### Post date: [October 15, 2018, 7:59pm UTC](https://discuss.elastic.co/t/find-segment-memory-by-field/152554/2 "2018-10-15T19:59:45Z")

</div>

Seems like this kind of works:

GET aws-2018.10.09.02.45-1/\_segments?verbose=true

---

<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: [November 12, 2018, 7:59pm UTC](https://discuss.elastic.co/t/find-segment-memory-by-field/152554/3 "2018-11-12T19:59:46Z")

</div>

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