Elastic search failed to put mappings on indices

In latest version for newly adding indices its failing to map indices and giving below error
[2018-03-21T00:06:29,854][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [W_PbdUQ] failed to put mappings on indices [[[mshealthchk-2018.03.21/sgyPprfOQCOIbLbmuhXS4A]]], type [doc]
java.lang.IllegalArgumentException: Rejecting mapping update to [mshealthchk-2018.03.21] as the final mapping would have more than 1 type: [_doc, doc]

even i rechecked my logstash template too its every thing perfect but not able to map indices

What version of Elasticsearch and Logstash do you use? Starting with 6.0, ES is raising errors if there is more than one type in use, see this doc for details. Do you have anything else but Logstash writing to that index?

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