# Get all docs with the occurrence of field values only once \[RE-POST\]

**URL:** <https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once-re-post/222218>\
**Category:** Elasticsearch\
**Created:** [March 5, 2020, 7:33am UTC](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once-re-post/222218 "2020-03-05T07:33:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaushik.vankayala](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@kaushik.vankayala](https://discuss.elastic.co/u/kaushik.vankayala)\
**Post date:** [March 5, 2020, 7:33am UTC](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once-re-post/222218/1 "2020-03-05T07:33:54Z")

</div>

Hi Team,

I am looking for support on resolving an issue faced in the below post;

> [@Get all docs with the occurrence of field values only once](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once/166466):
>
> Hi There, I have the documents in my index in the following format; { "\_index": "mt\_uat-app", "\_type": "doc", "\_source": { "Environment": "UAT", "loglevel": "INFO", "APITransactionId": "4d95e9b12cf0488084a22a8760c92c20", "audittype": "Audit-IN", "@timestamp": "2018-08-31T01:03:10.917Z", "Request": "POST /api/experience/member/login", }, "fields": { "@timestamp": ["2018-08-31T01:03:10.917Z"] } } another one say like below; { "\_index": "mt\_…

I was unable to resolve it based on the solution provided.

_Can anyone please help out with a plausible solution?_

Regards

Kaushik

---

<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:** [April 2, 2020, 7:38am UTC](https://discuss.elastic.co/t/get-all-docs-with-the-occurrence-of-field-values-only-once-re-post/222218/2 "2020-04-02T07:38:25Z")

</div>

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