# Encountered mapper\_parsing\_exception when working through LogStash tutorial

**URL:** https://discuss.elastic.co/t/encountered-mapper-parsing-exception-when-working-through-logstash-tutorial/173746
**Category:** Logstash
**Created:** [March 25, 2019, 12:17pm UTC](https://discuss.elastic.co/t/encountered-mapper-parsing-exception-when-working-through-logstash-tutorial/173746 "2019-03-25T12:17:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [March 25, 2019, 12:32pm UTC](https://discuss.elastic.co/t/encountered-mapper-parsing-exception-when-working-through-logstash-tutorial/173746/2 "2019-03-25T12:32:52Z")

</div>

> [@Miao](#):
>
> "failed to parse field [host] of type [text]"

It is having a problem with the field [host]. If you have any beats sending data to your elasticsearch instance then they will be creating a [host] [_object_](https://www.elastic.co/guide/en/beats/filebeat/current/exported-fields-host-processor.html) that contains fields like [host][name]. If you try to ingest a string into a field that has previously been mapped as an object then you will get that error.

---

_[View the full topic](https://discuss.elastic.co/t/encountered-mapper-parsing-exception-when-working-through-logstash-tutorial/173746)._
