# Kibana Filters in an Array

**URL:** https://discuss.elastic.co/t/kibana-filters-in-an-array/191454
**Category:** Kibana
**Created:** [July 19, 2019, 8:40pm UTC](https://discuss.elastic.co/t/kibana-filters-in-an-array/191454 "2019-07-19T20:40:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![matheusribeirogarcia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matheusribeirogarcia/32/44363_2.png) [@matheusribeirogarcia](https://discuss.elastic.co/u/matheusribeirogarcia)
#### Post date: [July 19, 2019, 8:40pm UTC](https://discuss.elastic.co/t/kibana-filters-in-an-array/191454/1 "2019-07-19T20:40:19Z")

</div>

Is there an way to make a filter that works like this?

For example, I have a field in my documents that contains a text and is called streetNumber, and I want to get All documents that may be in this index, in a certain Array.

e.g:  
something like this:  
streetNumber Has [88887,6664,3332,8883....N]

but without doing like this:

streetNumber: "88887" OR streetNumber: "6664" OR streetNumber: "3332" OR streetNumber: "8883"

Also, I need to that directly from the Kibana view.

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [July 19, 2019, 9:38pm UTC](https://discuss.elastic.co/t/kibana-filters-in-an-array/191454/2 "2019-07-19T21:38:40Z")

</div>

I'm not sure I understand the goal. Is the issue mainly the verbosity of the query? If you're using KQL you can do `streetNumber:(88887 or 6664 or 3332 or 8883)`

---

<div class="post-metadata">

### Author: ![matheusribeirogarcia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matheusribeirogarcia/32/44363_2.png) [@matheusribeirogarcia](https://discuss.elastic.co/u/matheusribeirogarcia)
#### Post date: [July 19, 2019, 10:01pm UTC](https://discuss.elastic.co/t/kibana-filters-in-an-array/191454/3 "2019-07-19T22:01:49Z")

</div>

I'll try that, thanks

---

<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 16, 2019, 10:03pm UTC](https://discuss.elastic.co/t/kibana-filters-in-an-array/191454/4 "2019-08-16T22:03:08Z")

</div>

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