Rejecting mapping update for new index

Ok, I understand.

In Kibana console, I did DELETE _template/my_template and I made the new post, by replacing type1 to doc. Now the problem is

[2017-11-29T17:10:11,488][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"mylogs-2017-11-24", :_type=>"doc", :_routing=>nil}, #<LogStash::Event:0x7d482463>], :response=>{"index"=>{"_index"=>"mylogs-2017-11-24", "_type"=>"doc", "_id"=>"opOTB2AB6TiNi_Dsv7Yw", "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"Rejecting mapping update to [mylogs-2017-11-24] as the final mapping would have more than 1 type: [doc, type1]"}}}}

am I doing it wrong? :disappointed: