# req.RequestURI filter

**URL:** https://discuss.elastic.co/t/req-requesturi-filter/103712
**Category:** Kibana
**Created:** [October 12, 2017, 11:35am UTC](https://discuss.elastic.co/t/req-requesturi-filter/103712 "2017-10-12T11:35:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nandhini](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@nandhini](https://discuss.elastic.co/u/nandhini)
#### Post date: [October 12, 2017, 11:35am UTC](https://discuss.elastic.co/t/req-requesturi-filter/103712/1 "2017-10-12T11:35:14Z")

</div>

Hi,

In KIBANA, i am trying to monitor execution time and count of occurrence for my requests.  
I have set up a visualization for that.  
I have a request like req.requestURI '[https://aaa/bbb/ccc](https://aaa/bbb/ccc)' and another request like '[https://aaa/bbb/ccc/ddd/](https://aaa/bbb/ccc/ddd/)'  
i need to monitor the execution time and count of occurence only for '[https://aaa/bbb/ccc/](https://aaa/bbb/ccc/)'.  
But the configurations i did actually considers both the request since the parameter aaa/bbb/ccc/ is common in both requests.  
Is there any other way to monitor only 'aaa/bbb/ccc/' in specific?

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [October 12, 2017, 12:15pm UTC](https://discuss.elastic.co/t/req-requesturi-filter/103712/2 "2017-10-12T12:15:43Z")

</div>

That should be possible via filters and queries. I think the issue might be in the way the data is indexed and the way the query is built for it. I tried to explain that in more detail in a [blog post](https://www.timroes.de/2016/05/29/elasticsearch-kibana-queries-in-depth-tutorial/).

Could you tell me what queries you are exactly using to filter for the data?

If you have a non analyzed field (e.g. the `.keyword` fields in Elasticsearch 5+ are like that if you used the dynamic mappings), you should be able to search for the whole string as `requestUri:"https://aaa/bbb/ccc"` and it shouldn't find exactly that string and not fields where this is just a prefix.

---

<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 9, 2017, 12:15pm UTC](https://discuss.elastic.co/t/req-requesturi-filter/103712/3 "2017-11-09T12:15:54Z")

</div>

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