# Can't merge a non object mapping \[EventId\] with an object mapping \[EventId\]

**URL:** <https://discuss.elastic.co/t/cant-merge-a-non-object-mapping-eventid-with-an-object-mapping-eventid/190529>\
**Category:** Logstash\
**Created:** [July 15, 2019, 12:27pm UTC](https://discuss.elastic.co/t/cant-merge-a-non-object-mapping-eventid-with-an-object-mapping-eventid/190529 "2019-07-15T12:27:06Z")\
**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:** [July 15, 2019, 2:20pm UTC](https://discuss.elastic.co/t/cant-merge-a-non-object-mapping-eventid-with-an-object-mapping-eventid/190529/2 "2019-07-15T14:20:56Z")

</div>

In elasticsearch a field can be an object, or text (or date etc.), but it cannot be text on some documents and an object on others.

I see you also have fields called EventId.Id and EventId.Name. That should be OK, you can have dots in field names, but if you have previously parsed messages in a way that created an EventId field that contained Id and Name fields that would create exactly this issue.

---

_[View the full topic](https://discuss.elastic.co/t/cant-merge-a-non-object-mapping-eventid-with-an-object-mapping-eventid/190529)._
