Logstash csv data output error

Output csv data to elasticserach through logstash.
However, sometimes certain problems occur.
For example, the data of column B is outputed in column A.
Therefore, the following error occurs because data of another field is output in DATE FIELD.
There is no problem with that csv file.

Please help me.
Thank you!

[error code]
[2019-09-18T15:22:35,343][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>"59", :_index=>"engine04", :_type=>"doc", :routing=>nil}, #LogStash::Event:0x4dcc9186], :response=>{"index"=>{"_index"=>"engine04", "_type"=>"doc", "_id"=>"59", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse field [DATE] of type [date]", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"Invalid format: "59" is too short"}}}}}

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