logstash-plugins / logstash-input-jdbc

Logstash Plugin for JDBC Inputs
Apache License 2.0
449 stars 187 forks source link

Mapper for [xxxx] conflicts with existing mapping in other types #312

Open jiang0902 opened 6 years ago

jiang0902 commented 6 years ago

[2018-11-23T14:14:49,020][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"test-logs-2018.11.23", :_type=>"stat_logs", :_routing=>nil}, #], :response=>{"index"=>{"_index"=>"test-logs-2018.11.23", "_type"=>"stat_logs", "_id"=>nil, "status"=>400, "error"=>{"type"=>"illegal_argument_exception", "reason"=>"Mapper for [created_at] conflicts with existing mapping in other types:\n[mapper [created_at] is used by multiple types. Set update_all_types to true to update [format] across all types.]"}}}} How should this problem be solved? thanks!