# Kibana and nested documents --\> include\_in\_parent

**URL:** <https://discuss.elastic.co/t/kibana-and-nested-documents-include-in-parent/21673>\
**Category:** Elasticsearch\
**Created:** [January 15, 2015, 10:44pm UTC](https://discuss.elastic.co/t/kibana-and-nested-documents-include-in-parent/21673 "2015-01-15T22:44:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@Phil](https://discuss.elastic.co/u/Phil)\
**Post date:** [January 15, 2015, 10:44pm UTC](https://discuss.elastic.co/t/kibana-and-nested-documents-include-in-parent/21673/1 "2015-01-15T22:44:22Z")

</div>

Hello,

I am new to ElasticSearch and I have a very specific question. We have  
implemented our ElasticSearch cluster with a nested document structure.  
Each document is made of one ID, a key element and one field including  
several nested "records" that are inserted by the script api and the bulk  
update function.

My question is, is it possible to view nested documents in Kibana, without  
using \*include\_in\_parent, \*because from preliminary testing it seams to be  
using more disk space when include\_in\_parent is in the mappings ?  
When include\_in\_parent is not in the mappings, the documents are not  
viewable within Kibana 4.0.0

Also, is there a function or way to display which documents have the most  
"nested" records, by using the size of the nested "records" in the  
document? I would like to have a pie chart, that could display them using  
the size of their nested attribute.

Thank you in advance.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/85b0aed9-f74a-4031-b815-999f1df9be55%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/85b0aed9-f74a-4031-b815-999f1df9be55%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:38am UTC](https://discuss.elastic.co/t/kibana-and-nested-documents-include-in-parent/21673/2 "2017-07-06T00:38:33Z")

</div>


