# Elasticsearch 2.4 - How search special characters in elasticsearch?

**URL:** <https://discuss.elastic.co/t/elasticsearch-2-4-how-search-special-characters-in-elasticsearch/149976>\
**Category:** Elasticsearch\
**Created:** [September 26, 2018, 10:03am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-how-search-special-characters-in-elasticsearch/149976 "2018-09-26T10:03:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cturbe](https://avatars.discourse-cdn.com/v4/letter/c/db5fbb/32.png) [@cturbe](https://discuss.elastic.co/u/cturbe)\
**Post date:** [September 26, 2018, 10:03am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-how-search-special-characters-in-elasticsearch/149976/1 "2018-09-26T10:03:47Z")

</div>

Hello,

I'm working on an elasticsearch 2.4 and i can't modify the mapping.  
The field that interests me in the mapping:

"message": {  
"analyzer": "standard",  
"doc\_values": false,  
"index": true,  
"standards": false,  
"type": "text"  
}

This field contains the logs of type: "1:X 18 Jun 17:25:54.312 # ERROR text error"

I wish research on the '#' character to display only the lines with this character.  
Is it possible to search special characters without modifying the standard tokenizer / analyzer?

Thank for your help.  
Christophe.

---

<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:** [October 24, 2018, 10:03am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-how-search-special-characters-in-elasticsearch/149976/2 "2018-10-24T10:03:47Z")

</div>

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