# Query to access distinct fields from different documents

**URL:** <https://discuss.elastic.co/t/query-to-access-distinct-fields-from-different-documents/74493>\
**Category:** Elasticsearch\
**Created:** [February 9, 2017, 12:14pm UTC](https://discuss.elastic.co/t/query-to-access-distinct-fields-from-different-documents/74493 "2017-02-09T12:14:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GautamP](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@GautamP](https://discuss.elastic.co/u/GautamP)\
**Post date:** [February 10, 2017, 6:16am UTC](https://discuss.elastic.co/t/query-to-access-distinct-fields-from-different-documents/74493/2 "2017-02-10T06:16:48Z")

</div>

I think I can solve this problem using the `logstash elapsed` plugin but I'm not able to install the plugin. I'll start a new topic in the logstash category.

---

_[View the full topic](https://discuss.elastic.co/t/query-to-access-distinct-fields-from-different-documents/74493)._
