Calculating new fields using ruby filter

That is comparing an array of strings with a number. logstash does not handle that well.

Note that if you fix it to compare the field called Contrainte

if [Contrainte] >= -78 {

then you will still get an exception if the field does not exist.