Hi,
i'm trying to use logstash with mongodb output plugin but i have some problems with floating point numbers.
Below an example
Failed to send event to MongoDB {:event=>#<LogStash::Event:0xcdd2742 @metadata_accessors=#<LogStash::Util::Accessors:0x6f90bf67 @store={"beat"=>"filebeat", "type"=>"log"}, @lut={}>, @cancelled=false, @data={"uid"=>"CklsCe2KJj79TjAWqg", "auc_confidence"=>#<BigDecimal:35a05fb6,'0.95E2',2(4)>, ....:exception=>#<NoMethodError: undefined method `bson_type' for #<BigDecimal:35a05fb6,'0.95E2',2(4)>>,
this is my json input
{"ts":1449679095.368664,"uid":"CklsCe2KJj79TjAWqg","auc_confidence":95.0}
How can i avoid this problem?
Thanks