# How can i find document where the value of a field It is not repeated

**URL:** <https://discuss.elastic.co/t/how-can-i-find-document-where-the-value-of-a-field-it-is-not-repeated/290426>\
**Category:** Kibana\
**Created:** [November 29, 2021, 11:06am UTC](https://discuss.elastic.co/t/how-can-i-find-document-where-the-value-of-a-field-it-is-not-repeated/290426 "2021-11-29T11:06:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Chaves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandro_chaves/32/97753_2.png) [@Alejandro\_Chaves](https://discuss.elastic.co/u/Alejandro_Chaves)\
**Post date:** [November 29, 2021, 11:06am UTC](https://discuss.elastic.co/t/how-can-i-find-document-where-the-value-of-a-field-it-is-not-repeated/290426/1 "2021-11-29T11:06:55Z")

</div>

Hello, im new in ELK and dont know how to find only the documents where the value of serviceName It is not repeated, just show me the document with the serviceName SLA\_D\_CARGA\_MODELO\_ACTIVO\_SSII\_testemail with the devtools in kibana. I do not want to find it by looking for it by name, but because it does not repeat itself. Sorry for my language, im not very good in english.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/9/d914f3b287b3c798dd9950ec997549d64f44c0e4.png)

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [November 29, 2021, 6:34pm UTC](https://discuss.elastic.co/t/how-can-i-find-document-where-the-value-of-a-field-it-is-not-repeated/290426/2 "2021-11-29T18:34:36Z")

</div>

Trying running a [rare-terms aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-rare-terms-aggregation.html) in console.

Below is an example from the documenation.

```auto
GET /_search
{
  "aggs": {
    "genres": {
      "rare_terms": {
        "field": "genre",
        "max_doc_count": 1
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![Alejandro\_Chaves](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandro_chaves/32/97753_2.png) [@Alejandro\_Chaves](https://discuss.elastic.co/u/Alejandro_Chaves)\
**Post date:** [December 1, 2021, 8:36am UTC](https://discuss.elastic.co/t/how-can-i-find-document-where-the-value-of-a-field-it-is-not-repeated/290426/3 "2021-12-01T08:36:18Z")

</div>

Okay, it worked. Thank you so much. 😄

---

<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:** [December 29, 2021, 8:36am UTC](https://discuss.elastic.co/t/how-can-i-find-document-where-the-value-of-a-field-it-is-not-repeated/290426/4 "2021-12-29T08:36:57Z")

</div>

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