# Not able to escape special characters

**URL:** <https://discuss.elastic.co/t/not-able-to-escape-special-characters/120616>\
**Category:** Elasticsearch\
**Created:** [February 20, 2018, 11:13am UTC](https://discuss.elastic.co/t/not-able-to-escape-special-characters/120616 "2018-02-20T11:13:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 20, 2018, 11:29am UTC](https://discuss.elastic.co/t/not-able-to-escape-special-characters/120616/2 "2018-02-20T11:29:54Z")

</div>

I'd say that it's a bad practice to just keep the message field as is without any parsing prior to indexing (using Grok for example).

Anyway, I guess this is not working because of the way your text as been analyzed.

Could you provide a full recreation script as described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

---

_[View the full topic](https://discuss.elastic.co/t/not-able-to-escape-special-characters/120616)._
