# Filter out String that are ""

**URL:** <https://discuss.elastic.co/t/filter-out-string-that-are/105352>\
**Category:** Kibana\
**Created:** [October 26, 2017, 7:18am UTC](https://discuss.elastic.co/t/filter-out-string-that-are/105352 "2017-10-26T07:18:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [October 26, 2017, 7:18am UTC](https://discuss.elastic.co/t/filter-out-string-that-are/105352/1 "2017-10-26T07:18:20Z")

</div>

Hi,

I want to make a filter that filters out logs if field "a" is "". How can I do so? I am using Kibana 5.6.

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

---

<div class="post-metadata">

**Author:** ![lueneburger](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lueneburger](https://discuss.elastic.co/u/lueneburger)\
**Post date:** [October 26, 2017, 7:43am UTC](https://discuss.elastic.co/t/filter-out-string-that-are/105352/2 "2017-10-26T07:43:05Z")

</div>

Hi @tomer,

do you mean "exists"? 🙂

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/2/a295e64bc01172db79666347bd2c6753e16d7c40.png)  
**Filter:**  
Field: a  
Operator: exists

would hide all empty events

Cheers,  
Dirk

---

<div class="post-metadata">

**Author:** ![tomer](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@tomer](https://discuss.elastic.co/u/tomer)\
**Post date:** [October 26, 2017, 7:46am UTC](https://discuss.elastic.co/t/filter-out-string-that-are/105352/3 "2017-10-26T07:46:16Z")

</div>

Hi,

I think I tried this, the problem is that I have field a (the json that enters ES is {,"a":"" , ...} and not {,"a": , ...}  
I will check this again.

Anyway thanks on the quick reply

---

<div class="post-metadata">

**Author:** ![lueneburger](https://avatars.discourse-cdn.com/v4/letter/l/f475e1/32.png) [@lueneburger](https://discuss.elastic.co/u/lueneburger)\
**Post date:** [October 26, 2017, 7:53am UTC](https://discuss.elastic.co/t/filter-out-string-that-are/105352/4 "2017-10-26T07:53:30Z")

</div>

Hi @tomer,

ah so it's not NULL, in the field is the value "", but that should work with "is not one of", type in ""

![image](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1fbb0d777b4a29d4b6e0dd6703ed7d4c3875ab58.png)

Cheers,  
Dirk

---

<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:** [November 23, 2017, 7:53am UTC](https://discuss.elastic.co/t/filter-out-string-that-are/105352/5 "2017-11-23T07:53:37Z")

</div>

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