Float numbers with comma as a decimal

Hi there,
I've got an issue with elastic while ingesting some date.

{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"failed to parse field [costo_hora_empleado] of type [integer]"}],"type":"mapper_parsing_exception","reason":"failed to parse field [cost] of type [integer]","caused_by":{"type":"number_format_exception","reason":"For input string: "622,5""}},"status":400}

I guess elastic is expecting a number like 622.5 instead of 622,5. Is there a posibility to change the float format to accept numbers with comma as a decimal indicator?

Best regards

I think the simplest solution here might be to replace these commas with dots using the ingest node.

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