# Need to get the field having only null value using query

**URL:** <https://discuss.elastic.co/t/need-to-get-the-field-having-only-null-value-using-query/54686>\
**Category:** Elasticsearch\
**Created:** [July 5, 2016, 5:56am UTC](https://discuss.elastic.co/t/need-to-get-the-field-having-only-null-value-using-query/54686 "2016-07-05T05:56:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 5, 2016, 7:09am UTC](https://discuss.elastic.co/t/need-to-get-the-field-having-only-null-value-using-query/54686/2 "2016-07-05T07:09:57Z")

</div>

Please format your code as explained at [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21)

Then provide a full script which reproduce your issue as shown in the same link.

---

_[View the full topic](https://discuss.elastic.co/t/need-to-get-the-field-having-only-null-value-using-query/54686)._
