# Kibana query

**URL:** <https://discuss.elastic.co/t/kibana-query/49057>\
**Category:** Kibana\
**Created:** [May 3, 2016, 12:35pm UTC](https://discuss.elastic.co/t/kibana-query/49057 "2016-05-03T12:35:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giulio](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@Giulio](https://discuss.elastic.co/u/Giulio)\
**Post date:** [May 3, 2016, 12:35pm UTC](https://discuss.elastic.co/t/kibana-query/49057/1 "2016-05-03T12:35:30Z")

</div>

Hi

I have a question about the query system.  
It woks quite well, I can search what I want except that when I try to find a particular character from a query string (the single quote ' )

The query string is the follow:

clientIP:"192.168.122.123" AND timestamp:"01/01/2016" AND status:"200" AND query:"'"

Simply I don't receive nothing back. I'm working whit elasticsearch as service so I can see if I'm placing a wrong request but nothing, everything seem legit.  
I have also tried to use regex for the research and always nothing, it' like I'm placing an empty string on query (query:"") I receive back the same resoult of thise query

clientIP:"192.168.122.123" AND timestamp:"01/01/2016" AND status:"200"

Also it is not a special character so I don't need any escape to find the sigle quote...

Any suggestion? Maybe is really stupid but I have no more ideas!

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [May 4, 2016, 12:47pm UTC](https://discuss.elastic.co/t/kibana-query/49057/2 "2016-05-04T12:47:53Z")

</div>

Hi,

Can you share the mapping for the `query` field in your Elasticsearch index? Here's how to get the mapping for an index: [https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-mapping.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-mapping.html). Thanks!

---

<div class="post-metadata">

**Author:** ![Giulio](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@Giulio](https://discuss.elastic.co/u/Giulio)\
**Post date:** [May 5, 2016, 9:49am UTC](https://discuss.elastic.co/t/kibana-query/49057/3 "2016-05-05T09:49:45Z")

</div>

Hi and many thanks for your reply.  
I realize that the problem is the elasticsearch analyzer so I create a thread in the elasticsearch section (that is much more correct in my opinion):

> [@Query a special character](https://discuss.elastic.co/t/query-a-special-character/49142):
>
> Hi I have place the same question in the kibana section but after searching more deeply I suppose that is a problem whit the DB. (like this old thread for example : [https://discuss.elastic.co/t/problem-with-single-quote-mark-in-json/3734/3b](https://discuss.elastic.co/t/problem-with-single-quote-mark-in-json/3734/3b) ) I must search the character ' (single quote) from a string (only the single quote) but when I try so search it I don't receive any response, it's like I place an empty query. Also I don't receive sort of error back... I have already try to use the UTF-…

many thanks and sorry for this thread.

---

<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:54pm UTC](https://discuss.elastic.co/t/kibana-query/49057/4 "2017-07-06T13:54:17Z")

</div>


