# How to match an empty field in kibana

**URL:** <https://discuss.elastic.co/t/how-to-match-an-empty-field-in-kibana/376952>\
**Category:** Kibana\
**Created:** [April 9, 2025, 10:23am UTC](https://discuss.elastic.co/t/how-to-match-an-empty-field-in-kibana/376952 "2025-04-09T10:23:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ron03](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@ron03](https://discuss.elastic.co/u/ron03)\
**Post date:** [April 9, 2025, 10:23am UTC](https://discuss.elastic.co/t/how-to-match-an-empty-field-in-kibana/376952/1 "2025-04-09T10:23:46Z")

</div>

In one log request we have multiple attributes, in that one of the attribute value is empty. How I can get the result for the particular attribute which has empty value using **DQL query**.  
I tried the query like "\n "productPrice" : "",\n" and "productPrice" : """  
but getting results for all the values.

Log is like this - "productPrice" : ""

Note: we don't have any field for this attribute

---

<div class="post-metadata">

**Author:** ![Musab\_Dogan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/musab_dogan/32/70691_2.png) [@Musab\_Dogan](https://discuss.elastic.co/u/Musab_Dogan)\
**Post date:** [April 12, 2025, 9:31pm UTC](https://discuss.elastic.co/t/how-to-match-an-empty-field-in-kibana/376952/2 "2025-04-12T21:31:35Z")

</div>

I assume DQL is Opensearch Dashboards Query Language. There is no DQL query in Elasticsearch or Kibana. There is **KQL** which stands for Kibana Query Language.

Anyway, if `the field is not exist or has no value` you can search like the following.

```auto
 NOT productPrice : *

```

If you only want to filter or filter-out the empty/null value, you can check `null-value` documentation.

> **[null\_value | Elasticsearch Guide \[8.17\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/null-value.html)**
