# "object mapping for \[host\] tried to parse field \[host\] as object, but found a concrete value" on filebeat/ingest

**URL:** https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value-on-filebeat-ingest/224433
**Category:** Beats
**Tags:** filebeat
**Created:** [March 20, 2020, 2:33pm UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value-on-filebeat-ingest/224433 "2020-03-20T14:33:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![EldrosKandar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eldroskandar/32/33188_2.png) [@EldrosKandar](https://discuss.elastic.co/u/EldrosKandar)
#### Post date: [March 20, 2020, 2:33pm UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value-on-filebeat-ingest/224433/1 "2020-03-20T14:33:51Z")

</div>

By creation of a new pipeline, the following error began to pop up on the filebeat side:

```
{"type":"mapper_parsing_exception","reason":"object mapping for [host] tried to parse field [host] as object, but found a concrete value"}

```

I thought it might be something like the [breaking change with the field host](https://www.elastic.co/guide/en/beats/libbeat/6.4/breaking-changes-6.3.html#breaking-changes-mapping-conflict) even though logstash is not used but instead filebeat feeds directly into the ingest pipeline.

I first tried to add the processor the the filebeat.yml in order to drop the field, but there were no changes observed.  
I then tried removing the field from the pipeline, but now I'm becoming the following error:

```
{"type":"illegal_argument_exception","reason":"field [host] not present as part of path [host]"}

```

In the pipeline, or the filebeat.yml there is no mention of the field host, so I'm wondering, where does this host field comes from which causes the conflict.

---

<div class="post-metadata">

### Author: ![Kim-Kruse-Hansen](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@Kim-Kruse-Hansen](https://discuss.elastic.co/u/Kim-Kruse-Hansen)
#### Post date: [March 20, 2020, 4:34pm UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value-on-filebeat-ingest/224433/2 "2020-03-20T16:34:16Z")

</div>

This will occur if you have a mix of new v7 filebeat and older v6 filebeats outputting to the same index. This is caused by introduction of ecs.

---

<div class="post-metadata">

### Author: ![EldrosKandar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eldroskandar/32/33188_2.png) [@EldrosKandar](https://discuss.elastic.co/u/EldrosKandar)
#### Post date: [March 23, 2020, 9:47am UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value-on-filebeat-ingest/224433/3 "2020-03-23T09:47:37Z")

</div>

> [@Kim-Kruse-Hansen](#):
>
> a mix of new v7 filebeat and older v6 filebeats outputting to the same index. This is caused by introduction of ecs.

I see, there is quite a few filebeat created by automated process, so it is difficult to find out which filebeat 6 is still being use. Is there a way to work around that?

---

<div class="post-metadata">

### Author: ![Kim-Kruse-Hansen](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@Kim-Kruse-Hansen](https://discuss.elastic.co/u/Kim-Kruse-Hansen)
#### Post date: [March 27, 2020, 3:13pm UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value-on-filebeat-ingest/224433/4 "2020-03-27T15:13:48Z")

</div>

if you use logstash , you can use the filter section to handle it. You can also use processors in beat config to drop this field. Or you can use version dependent indices. Best effor is to make sure all your beat are using the same major version.

---

<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: [April 24, 2020, 3:13pm UTC](https://discuss.elastic.co/t/object-mapping-for-host-tried-to-parse-field-host-as-object-but-found-a-concrete-value-on-filebeat-ingest/224433/5 "2020-04-24T15:13:50Z")

</div>

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