How can i fix this error for date type

Hi ,

I'm getting below error when trying to insert records from SQL using logstash

"status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"mapper [HeatTime] of different type, current_type [date], merged_type [string]"}}}}, :level=>:warn}

I have a field called HeatTime whose value is 2000-01-01T12:30:00.

Even though i haven't defined the type for this field in index i'm getting the above error.

If i have to manually define this HeatTime in my index what should be the date format for this!

Thank you

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