logstash-input-mongodb
logstash-input-mongodb copied to clipboard
Exception occurred
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
Having this problem also :(
Got same error