# Kibana Filtering

**URL:** <https://discuss.elastic.co/t/kibana-filtering/201681>\
**Category:** Kibana\
**Created:** [September 30, 2019, 4:37pm UTC](https://discuss.elastic.co/t/kibana-filtering/201681 "2019-09-30T16:37:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![paragj2005](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@paragj2005](https://discuss.elastic.co/u/paragj2005)\
**Post date:** [September 30, 2019, 4:37pm UTC](https://discuss.elastic.co/t/kibana-filtering/201681/1 "2019-09-30T16:37:32Z")

</div>

I have two fields Fname ( first name) Lname (last name). However there has been issue while data was put into the index and some places the Fname and Lname has been interchanged.  
Need filter where User can filter based on either Fname is Alex or Lname is Alex.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [September 30, 2019, 9:22pm UTC](https://discuss.elastic.co/t/kibana-filtering/201681/2 "2019-09-30T21:22:05Z")

</div>

You can do this from the query bar, the filter wizard will automatically do an `and` operation.

`Fname:Alex or Lname:Alex`

---

<div class="post-metadata">

**Author:** ![paragj2005](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@paragj2005](https://discuss.elastic.co/u/paragj2005)\
**Post date:** [October 3, 2019, 2:32am UTC](https://discuss.elastic.co/t/kibana-filtering/201681/3 "2019-10-03T02:32:50Z")

</div>

Thanks for the prompt reply.  
have also provided option where filter can be- (star)name: Alex  
and this works. Was wondering if there are any alternative options where users don't have to remember these filter. for eg. saving filter for multiple fields, - (star)name:\* or Salary:\* or day:\*  
where users can just put the value and search.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [October 3, 2019, 11:06pm UTC](https://discuss.elastic.co/t/kibana-filtering/201681/4 "2019-10-03T23:06:26Z")

</div>

There isn't a way to pre-template it, but instead of querying the `Add filter` button can be used. These can be toggled on/off as needed

---

<div class="post-metadata">

**Author:** ![paragj2005](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@paragj2005](https://discuss.elastic.co/u/paragj2005)\
**Post date:** [October 6, 2019, 7:38am UTC](https://discuss.elastic.co/t/kibana-filtering/201681/5 "2019-10-06T07:38:33Z")

</div>

Is there any way where this add filter will be "OR" instead of "AND"?

---

<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 3, 2019, 7:38am UTC](https://discuss.elastic.co/t/kibana-filtering/201681/6 "2019-11-03T07:38:46Z")

</div>

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