Hello,
I have some problems with floats. The data is coming from a csv file and the source looks like that
"name","avg_rank"
"richard","1,65"
"john","8,34"
"dan","0,78"
"alicia","14,659"
Now, because elasticsearch was treating avg_rank values as strings, I've done something like that in my logstash config file :
mutate { convert => {"avg_rank" => "float"} }
Looking into the hits quering , I can see for example that avg_rank value for john is 834.0 instead of 8.34
{
"name": "john"
"avg_rank" : 834.0
}
Could this be resolved only upstream working on my data source (replacing commas by dots for example) or is there ways to make logstash dealing with it ?
Thank you !