# Excluding word from Kibana query

**URL:** https://discuss.elastic.co/t/excluding-word-from-kibana-query/52010
**Category:** Kibana
**Created:** [June 7, 2016, 1:27am UTC](https://discuss.elastic.co/t/excluding-word-from-kibana-query/52010 "2016-06-07T01:27:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![trekr5](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@trekr5](https://discuss.elastic.co/u/trekr5)
#### Post date: [June 7, 2016, 1:27am UTC](https://discuss.elastic.co/t/excluding-word-from-kibana-query/52010/1 "2016-06-07T01:27:43Z")

</div>

Hi,

I have a situation where my query returns:

GET /fundraising/alice  
GET /fundraising/benny

I would like the response to be

GET /alice  
GET /benny

I tried in my exclude pattern:

|./\fundraising/.

If I use ./fundraising/.| it will completely exclude all pages leading with fundraising which isn't what I want.

How can I achieve this?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 7, 2016, 2:55am UTC](https://discuss.elastic.co/t/excluding-word-from-kibana-query/52010/2 "2016-06-07T02:55:00Z")

</div>

> [@trekr5](#):
>
> GET /fundraising/alice

Is this the actual value?  
And you just want to remove the `/fundraising` from the actual displayed response in KB?

Or you only want to search on;

> [@trekr5](#):
>
> GET /alice

---

<div class="post-metadata">

### Author: ![trekr5](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@trekr5](https://discuss.elastic.co/u/trekr5)
#### Post date: [June 7, 2016, 7:29am UTC](https://discuss.elastic.co/t/excluding-word-from-kibana-query/52010/3 "2016-06-07T07:29:43Z")

</div>

Hi,

The actual response comes back as GET /fundraising/alice but I'd like to remove the /fundraising so that /alice is displayed (customer request).

Is this possible? If so, how?

Thanks

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 7, 2016, 8:12am UTC](https://discuss.elastic.co/t/excluding-word-from-kibana-query/52010/4 "2016-06-07T08:12:02Z")

</div>

That is not possible.

---

<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, 1:51pm UTC](https://discuss.elastic.co/t/excluding-word-from-kibana-query/52010/5 "2017-07-06T13:51:26Z")

</div>


