logstash-input-mongodb icon indicating copy to clipboard operation
logstash-input-mongodb copied to clipboard

Exception occurred

Open moas opened this issue 8 years ago • 2 comments

Hello

How to fix this exception:

D, [2016-04-07T22:37:20.095000 #1] DEBUG -- : MONGODB | my-db:27017 | my.find | SUCCEEDED | 0.006s
MongoDB Input threw an exception, restarting {:exception=>#<TypeError: The field '@timestamp' must be a (LogStash::Timestamp, not a String ("2016-04-03T15:40:39.794Z")>, :level=>:warn}
D, [2016-04-07T22:37:20.099000 #1] DEBUG -- : MONGODB | my-db:27017 | my.find | STARTED | {"find"=>"coll", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5701397834ba8f0b61000001')}}, "limit"=>5000}

How to select or exclude fields in collection!

Thx

moas avatar Apr 07 '16 22:04 moas

Having this problem also :(

jpeyper avatar Apr 20 '16 03:04 jpeyper

Got same error

sallyruthstruik avatar Feb 18 '17 11:02 sallyruthstruik