# Kibana nested documents

**URL:** <https://discuss.elastic.co/t/kibana-nested-documents/17878>\
**Category:** Elasticsearch\
**Created:** [June 3, 2014, 9:30am UTC](https://discuss.elastic.co/t/kibana-nested-documents/17878 "2014-06-03T09:30:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eunever32](https://avatars.discourse-cdn.com/v4/letter/e/e68b1a/32.png) [@eunever32](https://discuss.elastic.co/u/eunever32)\
**Post date:** [June 3, 2014, 9:30am UTC](https://discuss.elastic.co/t/kibana-nested-documents/17878/1 "2014-06-03T09:30:50Z")

</div>

Hi

when I use the "terms" panel my results are not found because I have nested  
documents.

So when I look for a.b.fieldX it doesn't find any

In DSL what I would do is

GET /indexK/\_search  
{  
"facets": {  
"size": {  
"terms": {"field": "fieldX"},  
"nested": "a.b"  
}  
}  
}

How can I tell Kibana to do this?

Thanks

--  
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/06d0599c-e1bb-4f9b-84b8-d0b91fd71821%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/06d0599c-e1bb-4f9b-84b8-d0b91fd71821%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, 1:25am UTC](https://discuss.elastic.co/t/kibana-nested-documents/17878/2 "2017-07-06T01:25:02Z")

</div>


