# Kibana Filter is not behaving as the way it should

**URL:** <https://discuss.elastic.co/t/kibana-filter-is-not-behaving-as-the-way-it-should/35721>\
**Category:** Kibana\
**Created:** [November 27, 2015, 8:40am UTC](https://discuss.elastic.co/t/kibana-filter-is-not-behaving-as-the-way-it-should/35721 "2015-11-27T08:40:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [November 27, 2015, 8:40am UTC](https://discuss.elastic.co/t/kibana-filter-is-not-behaving-as-the-way-it-should/35721/1 "2015-11-27T08:40:55Z")

</div>

Hi Experts,

I have very strange issue . I have a field which contains event id's .So it is like

`baseEventIds:11464812479 OR 11464812477 OR 11464812476`

Now when I filter the event based on this field I am getting nothing , but when I just put `11464812479 OR 11464812477 OR 11464812476` in the kibana search bar i am getting results .Not sure what is happening, i mean what is the problem while applying a filter ? i am applying a filter by jusy clicking the filed baseEventsId.

it works fine when I just place directly in search bar something like

`baseId:11464812479 OR 11464812477 OR 11464812476`

Thanks  
VG

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 29, 2015, 10:48am UTC](https://discuss.elastic.co/t/kibana-filter-is-not-behaving-as-the-way-it-should/35721/2 "2015-11-29T10:48:54Z")

</div>

You're using the OR boolean operator where it can't be used. It's only valid in query strings, not in field filters.

Also, while "baseId:11464812479 OR 11464812477 OR 11464812476" _works_ it doesn't do what you expect it to. It does not translate to

```
baseId:11464812479 OR baseId:11464812477 OR baseId:11464812476

```

but to

```
baseId:11464812479 OR default_field:11464812477 OR default_field:11464812476

```

where `default_field` is the index-specific default field for queries, which by default is `_all`, i.e. all fields in the document. In other words, your query will match any document with 11464812477 or 11464812476 in _any_ field.

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [November 30, 2015, 4:05pm UTC](https://discuss.elastic.co/t/kibana-filter-is-not-behaving-as-the-way-it-should/35721/3 "2015-11-30T16:05:11Z")

</div>

Thank you ,I got you point Magnus

---

<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:** [July 6, 2017, 2:07pm UTC](https://discuss.elastic.co/t/kibana-filter-is-not-behaving-as-the-way-it-should/35721/4 "2017-07-06T14:07:54Z")

</div>


