# Rejecting mapping update to \[\*\*\*\*\] as the final mapping would have more than 1 type

**URL:** <https://forum.opensearch.org/t/rejecting-mapping-update-to-as-the-final-mapping-would-have-more-than-1-type/7772>\
**Category:** General Feedback\
**Created:** [November 29, 2021, 1:17pm UTC](https://forum.opensearch.org/t/rejecting-mapping-update-to-as-the-final-mapping-would-have-more-than-1-type/7772 "2021-11-29T13:17:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shunmugaraj](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/shunmugaraj/32/2434_2.png) [@shunmugaraj](https://forum.opensearch.org/u/shunmugaraj)\
**Post date:** [November 29, 2021, 1:17pm UTC](https://forum.opensearch.org/t/rejecting-mapping-update-to-as-the-final-mapping-would-have-more-than-1-type/7772/1 "2021-11-29T13:17:54Z")

</div>

Hi all,

i am using Opensearch 1.1.0 version, it is upgraded from Elasticsearch 7.9.3. Opensearch is able to load indexes created on Elasticsearch version 7.9.3 and able to query the indexes properly.

But i am facing below issue when i ingest data using logstash version 7.9.3.

[logstash.outputs.elasticsearch][main][c8d7593139887984021db358962161bfdacaed12ca0c25d6ac384dcba8b0a4c3] Could not index event to Elasticsearch. {:status=\>400, :action=\>[“index”, {:\_id=\>nil, :\_index=\>“**“, :\_routing=\>nil, :\_type=\>“rsyslog”}, #LogStash::Event:0x3c4e874c], :response=\>{“index”=\>{”\_index"=\>"**”, “\_type”=\>“rsyslog”, “\_id”=\>“MHfjW30B8fBZd5tmUIAU”, “status”=\>400, “error”=\>{“type”=\>“illegal\_argument\_exception”, “reason”=\>“Rejecting mapping update to [\*\*\*] as the final mapping would have more than 1 type: [\_doc, rsyslog]”}}}} .

could you please help to solve this issue?

Thanks.

---

<div class="post-metadata">

**Author:** ![searchymcsearchface](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/searchymcsearchface/32/868_2.png) [@searchymcsearchface](https://forum.opensearch.org/u/searchymcsearchface)\
**Post date:** [December 1, 2021, 12:42am UTC](https://forum.opensearch.org/t/rejecting-mapping-update-to-as-the-final-mapping-would-have-more-than-1-type/7772/2 "2021-12-01T00:42:43Z")

</div>

It’s suggested to use a newer version of logstash with OpenSearch

> **[Agents and ingestion tools](https://opensearch.org/docs/1.2/clients/agents-and-ingestion-tools/index/#compatibility-matrix-for-logstash)**
>
> Agents and ingestion tools
