Log stash fails to index events into elastic search

When try to index {"ets":1.56380271344E12} this event into elastic search it's throwing an illegal_argument_exception
Spec:

Log stash Version:2.3.4
Elastic search Version: 2.4.5

Input events:

Event1: {"ets":1.56380271344E12} // Fails to index

Event2 {"ets":1.563803028911E12} // Works fine

ES-Mapping :

"ets": {
"format": "date_hour_minute_second_millis||epoch_millis",
"type": "date"
}

Error:

"error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse [ets]", "caused_by"=>{"type"=>"illegal_argument_exception", "reason"=>"Invalid format: \"1.56380271344E+12\" is malformed at \".56380271344E+12\""}}}}, :level=>:warn}

Did anybody faced this issue? Can you please help me how to resolve this or any workaround?

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