# Unwanted tokenising of apache log fields: referer and request

**URL:** <https://discuss.elastic.co/t/unwanted-tokenising-of-apache-log-fields-referer-and-request/19207>\
**Category:** Elasticsearch\
**Created:** [August 11, 2014, 8:19pm UTC](https://discuss.elastic.co/t/unwanted-tokenising-of-apache-log-fields-referer-and-request/19207 "2014-08-11T20:19:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![subs](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@subs](https://discuss.elastic.co/u/subs)\
**Post date:** [August 11, 2014, 8:19pm UTC](https://discuss.elastic.co/t/unwanted-tokenising-of-apache-log-fields-referer-and-request/19207/1 "2014-08-11T20:19:35Z")

</div>

Hi,

I'm new to elasticsearch and am really struggling with the suppression of the tokenising of two apache log fields I have defined: referer & request. Both are supplied (obviously) by logstash and then displayed in Kibana panels. My index is essentially "apache-YYYY.MM.DD".

Does anybody have the code I need to define these fields as "not\_analyzed"? The examples I've found are confusing to me (as a newbie) and anything I've tried has failed.

Thanks in advance!

Phil.

---

<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:09am UTC](https://discuss.elastic.co/t/unwanted-tokenising-of-apache-log-fields-referer-and-request/19207/2 "2017-07-06T01:09:29Z")

</div>


