# Object mapping for \[host\] tried to parse field \[host\] as object, but found a concrete value

**URL:** <https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value/184200>\
**Category:** Elasticsearch\
**Created:** [June 4, 2019, 1:47pm UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value/184200 "2019-06-04T13:47:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Chris\_Denneen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chris_denneen/32/1254_2.png) [@Chris\_Denneen](https://discuss.elastic.co/u/Chris_Denneen)\
**Post date:** [June 6, 2019, 6:36pm UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value/184200/5 "2019-06-06T18:36:26Z")

</div>

Host in the [ECS](https://www.elastic.co/blog/introducing-the-elastic-common-schema) spec is an object

> <https://github.com/elastic/ecs/blob/master/generated/beats/fields.ecs.yml#L1008-L1015>

so now it's

```
host:
  name: my hostname
  ip: 10.1.10.10

```

Where "host" encapsulates "host" related data.

---

_[View the full topic](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value/184200)._
