# All the names of fields, containing a specific value

**URL:** <https://discuss.elastic.co/t/all-the-names-of-fields-containing-a-specific-value/242745>\
**Category:** Elasticsearch\
**Created:** [July 27, 2020, 12:20pm UTC](https://discuss.elastic.co/t/all-the-names-of-fields-containing-a-specific-value/242745 "2020-07-27T12:20:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Florent\_Fauvin](https://avatars.discourse-cdn.com/v4/letter/f/d2c977/32.png) [@Florent\_Fauvin](https://discuss.elastic.co/u/Florent_Fauvin)\
**Post date:** [July 27, 2020, 12:20pm UTC](https://discuss.elastic.co/t/all-the-names-of-fields-containing-a-specific-value/242745/1 "2020-07-27T12:20:49Z")

</div>

Hello,

I would like to know which Elastic query can give me all the names of fields, containing a specific value ?

(I don't want the value of the fields, just their name)

Thank you very much,

Florent

---

<div class="post-metadata">

**Author:** ![Francismara\_Souza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francismara_souza/32/63194_2.png) [@Francismara\_Souza](https://discuss.elastic.co/u/Francismara_Souza)\
**Post date:** [July 27, 2020, 12:30pm UTC](https://discuss.elastic.co/t/all-the-names-of-fields-containing-a-specific-value/242745/2 "2020-07-27T12:30:56Z")

</div>

Hi @Florent_Fauvin,

Maybe the **exists query** may help you on that,

[https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html)

---

<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:** [August 24, 2020, 12:31pm UTC](https://discuss.elastic.co/t/all-the-names-of-fields-containing-a-specific-value/242745/3 "2020-08-24T12:31:01Z")

</div>

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