# Logstash failed to parse field \[host\] of type \[text\] in document

**URL:** <https://discuss.elastic.co/t/logstash-failed-to-parse-field-host-of-type-text-in-document/342697>\
**Category:** Logstash\
**Created:** [September 11, 2023, 4:53am UTC](https://discuss.elastic.co/t/logstash-failed-to-parse-field-host-of-type-text-in-document/342697 "2023-09-11T04:53:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [September 11, 2023, 6:38am UTC](https://discuss.elastic.co/t/logstash-failed-to-parse-field-host-of-type-text-in-document/342697/2 "2023-09-11T06:38:19Z")

</div>

> {"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse field [host] of type [text] in

On Kibana side you have field which don't match by type which you are sending from LS to Kib.  
The most likely the host field is JSON object and you have the text field in Kibana.  
You have to:

- have the same types field
- do reindex or delete or create a new index with different name
- delete mapping and create again

---

_[View the full topic](https://discuss.elastic.co/t/logstash-failed-to-parse-field-host-of-type-text-in-document/342697)._
