# Take out bits of a URIPATH in Logstash

**URL:** <https://discuss.elastic.co/t/take-out-bits-of-a-uripath-in-logstash/24597>\
**Category:** Logstash\
**Created:** [June 30, 2015, 6:20am UTC](https://discuss.elastic.co/t/take-out-bits-of-a-uripath-in-logstash/24597 "2015-06-30T06:20:59Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [June 30, 2015, 8:47am UTC](https://discuss.elastic.co/t/take-out-bits-of-a-uripath-in-logstash/24597/12 "2015-06-30T08:47:25Z")

</div>

> That's a completely different question, but in short you need to make sure the field isn't analyzed (or is analyzed differently), typically done by configuring a custom index template and setting the field in question to not\_analyzed.

Related topic:

> [@Perform Group By - Exact String](https://discuss.elastic.co/t/perform-group-by-exact-string/24463):
>
> Hi, I am trying to perform group by on a string field. But as I understand, strings are tokenized and hence not able group by on the exact string. I found that it has to do with analyzer. Is there a way I can do that? Thanks in advance.

---

_[View the full topic](https://discuss.elastic.co/t/take-out-bits-of-a-uripath-in-logstash/24597)._
