{"action":"created","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-output-mongodb/issues/20","repository_url":"https://api.github.com/repos/logstash-plugins/logstash-output-mongodb","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-output-mongodb/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-output-mongodb/issues/20/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-output-mongodb/issues/20/events","html_url":"https://github.com/logstash-plugins/logstash-output-mongodb/issues/20","id":123284514,"number":20,"title":"logstash-output-mongodb works only with mongodb 2.0.6","user":{"login":"chakrip82","id":15965936,"avatar_url":"https://avatars0.githubusercontent.com/u/15965936?v=4","gravatar_id":"","url":"https://api.github.com/users/chakrip82","html_url":"https://github.com/chakrip82","followers_url":"https://api.github.com/users/chakrip82/followers","following_url":"https://api.github.com/users/chakrip82/following{/other_user}","gists_url":"https://api.github.com/users/chakrip82/gists{/gist_id}","starred_url":"https://api.github.com/users/chakrip82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chakrip82/subscriptions","organizations_url":"https://api.github.com/users/chakrip82/orgs","repos_url":"https://api.github.com/users/chakrip82/repos","events_url":"https://api.github.com/users/chakrip82/events{/privacy}","received_events_url":"https://api.github.com/users/chakrip82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-12-21T14:02:26Z","updated_at":"2018-05-07T15:01:40Z","closed_at":null,"author_association":"NONE","body":"Hi,\nI tried to use logstash-output-mongodb and push to mongodb version 3.0.4 but its not working.\nthen i observed that its not working with mongodb 3.0.4 and throwing the error \n\n@metadata_accessors=#<LogStash::Util::Accessors:0x63ff2639 @store={}, @lut={}>, @cancelled=false>, :exception=>#<Mongo::Error::OperationFailure: assertion src/mongo/db/storage/mmap_v1/extent.h:77 (8)>, :backtrace=>[\"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/mongo-2.0.6/lib/mongo/operation/result.rb:214:in `validate!'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/mongo-2.0.6/lib/mongo/operation/write/insert.rb:72:in`execute_write_command'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/mongo-2.0.6/lib/mongo/operation/write/insert.rb:62:in `execute'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/mongo-2.0.6/lib/mongo/collection.rb:190:in`insert_many'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/mongo-2.0.6/lib/mongo/collection.rb:175:in `insert_one'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/logstash-output-mongodb-2.0.3/lib/logstash/outputs/mongodb.rb:56:in`receive'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.1-java/lib/logstash/outputs/base.rb:81:in `handle'\", \"(eval):27:in`output_func'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.1-java/lib/logstash/pipeline.rb:277:in `outputworker'\", \"/Users/chakrapani.k/Downloads/logstash-2.1.1/vendor/bundle/jruby/1.9/gems/logstash-core-2.1.1-java/lib/logstash/pipeline.rb:194:in`start_outputs'\"], :level=>:warn}\n\nThen i tried using this plugin with mongodb 2.0.6 and its working perfectly and able to push to mongodb.\n\nIs there any workaround or fix for resolving this hard dependency on 2.0.6 and be able to push to mongo3 also.\n\nregards,\nchakri \n"},"comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-output-mongodb/issues/comments/387093883","html_url":"https://github.com/logstash-plugins/logstash-output-mongodb/issues/20#issuecomment-387093883","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-output-mongodb/issues/20","id":387093883,"user":{"login":"jjuarez","id":47994,"avatar_url":"https://avatars0.githubusercontent.com/u/47994?v=4","gravatar_id":"","url":"https://api.github.com/users/jjuarez","html_url":"https://github.com/jjuarez","followers_url":"https://api.github.com/users/jjuarez/followers","following_url":"https://api.github.com/users/jjuarez/following{/other_user}","gists_url":"https://api.github.com/users/jjuarez/gists{/gist_id}","starred_url":"https://api.github.com/users/jjuarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjuarez/subscriptions","organizations_url":"https://api.github.com/users/jjuarez/orgs","repos_url":"https://api.github.com/users/jjuarez/repos","events_url":"https://api.github.com/users/jjuarez/events{/privacy}","received_events_url":"https://api.github.com/users/jjuarez/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T15:01:40Z","updated_at":"2018-05-07T15:01:40Z","author_association":"NONE","body":"It's not working with 6.2.4 too"}}
{"actor":{"display_login":"jjuarez"}}