# Search for a text not working

**URL:** <https://discuss.elastic.co/t/search-for-a-text-not-working/302287>\
**Category:** Kibana\
**Created:** [April 13, 2022, 4:27am UTC](https://discuss.elastic.co/t/search-for-a-text-not-working/302287 "2022-04-13T04:27:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shubham\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shubham_singh/32/96820_2.png) [@Shubham\_Singh](https://discuss.elastic.co/u/Shubham_Singh)\
**Post date:** [April 13, 2022, 4:27am UTC](https://discuss.elastic.co/t/search-for-a-text-not-working/302287/1 "2022-04-13T04:27:36Z")

</div>

When searching for a text in the field I'm not getting any data enough though the text is present in the logs

query- message : error while getting meet audit data for customer

When I search directly without putting the field. name it matches for individual words in different fields. For my index pattern the data type of message field is text,keyword

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0e2f54b81aa29b033b196b52fa4cd812ce6551d1.png)

---

<div class="post-metadata">

**Author:** ![Kirubanandhan](https://avatars.discourse-cdn.com/v4/letter/k/94ad74/32.png) [@Kirubanandhan](https://discuss.elastic.co/u/Kirubanandhan)\
**Post date:** [April 13, 2022, 8:34am UTC](https://discuss.elastic.co/t/search-for-a-text-not-working/302287/2 "2022-04-13T08:34:29Z")

</div>

Please check for the field "message.keyword"

---

<div class="post-metadata">

**Author:** ![Shubham\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shubham_singh/32/96820_2.png) [@Shubham\_Singh](https://discuss.elastic.co/u/Shubham_Singh)\
**Post date:** [April 13, 2022, 9:30am UTC](https://discuss.elastic.co/t/search-for-a-text-not-working/302287/3 "2022-04-13T09:30:36Z")

</div>

there is no message.keyword field coming in kibana

---

<div class="post-metadata">

**Author:** ![anime\_lover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anime_lover/32/100265_2.png) [@anime\_lover](https://discuss.elastic.co/u/anime_lover)\
**Post date:** [April 13, 2022, 12:02pm UTC](https://discuss.elastic.co/t/search-for-a-text-not-working/302287/4 "2022-04-13T12:02:04Z")

</div>

can you provide mapping of that field...and also write the query that you tried (not in paragraph ,describing it)

---

<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:** [May 11, 2022, 12:02pm UTC](https://discuss.elastic.co/t/search-for-a-text-not-working/302287/5 "2022-05-11T12:02:49Z")

</div>

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