# Logstash-output-mongodb

**URL:** https://discuss.elastic.co/t/logstash-output-mongodb/102089
**Category:** Logstash
**Created:** [September 28, 2017, 9:49am UTC](https://discuss.elastic.co/t/logstash-output-mongodb/102089 "2017-09-28T09:49:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nikparab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikparab/32/17493_2.png) [@Nikparab](https://discuss.elastic.co/u/Nikparab)
#### Post date: [September 28, 2017, 9:49am UTC](https://discuss.elastic.co/t/logstash-output-mongodb/102089/1 "2017-09-28T09:49:58Z")

</div>

Not able to install output plugin for logstash 5.6.2 version.  
giving following error

Plugin version conflict, aborting  
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "mongo":  
In snapshot (Gemfile.lock):  
mongo (= 2.4.3)

In Gemfile:  
logstash-input-mongodb (\>= 0) java depends on  
mongo (\>= 2.0.0) java

```
logstash-output-mongodb (>= 0) java depends on
  mongo (~> 2.0.6) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.  
Bundler could not find compatible versions for gem "logstash-core":  
In snapshot (Gemfile.lock):  
logstash-core (= 5.6.2)

In Gemfile:  
logstash-core-plugin-api (\>= 0) java depends on  
logstash-core (= 5.6.2) java

```
logstash-input-mongodb (>= 0) java depends on
  logstash-core (>= 5.0) java

logstash-output-mongodb (>= 0) java depends on
  logstash-core (< 2.0.0, >= 1.4.0) java

logstash-core (>= 0) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.  
Bundler could not find compatible versions for gem "logstash":  
In Gemfile:  
logstash-output-mongodb (\>= 0) java depends on  
logstash (\< 2.0.0, \>= 1.4.0) java  
Could not find gem 'logstash (\< 2.0.0, \>= 1.4.0) java', which is required by gem 'logstash-output-mongodb (\>= 0) java', in any of the sources.

can anybody pls reply for this???

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 26, 2017, 9:50am UTC](https://discuss.elastic.co/t/logstash-output-mongodb/102089/2 "2017-10-26T09:50:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
