# How to install Logstash mongo db plug in?

**URL:** https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013
**Category:** Logstash
**Created:** [January 27, 2017, 12:34pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013 "2017-01-27T12:34:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rlv\_praveen](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@rlv\_praveen](https://discuss.elastic.co/u/rlv_praveen)
#### Post date: [January 27, 2017, 12:34pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013/1 "2017-01-27T12:34:59Z")

</div>

Hi team,

I have a configuration in which after parsing my data i want to send the data to mongo db. But i am getting the error as  
**:reason=\>"Couldn't find any output plugin named**  
\*\* 'mongodb'. Are you sure this is correct? Trying to load the mongodb output plug\*\*  
**in resulted in this error: no such file to load -- logstash/outputs/mongodb", :l**  
**evel=\>:error}←[0m**  
**The signal HUP is in use by the JVM and will not work correctly on this platform.**

I am using "logstash-2.4.1" and java 7.  
Any help would be appreciated. Thanks.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [January 27, 2017, 12:39pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013/2 "2017-01-27T12:39:22Z")

</div>

Have you installed the plugin by running the command listed at the top of the documentation?

[https://www.elastic.co/guide/en/logstash/2.4/plugins-outputs-mongodb.html](https://www.elastic.co/guide/en/logstash/2.4/plugins-outputs-mongodb.html)

---

<div class="post-metadata">

### Author: ![rlv\_praveen](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@rlv\_praveen](https://discuss.elastic.co/u/rlv_praveen)
#### Post date: [January 27, 2017, 1:16pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013/3 "2017-01-27T13:16:03Z")

</div>

Thanks for the reply. Yes i did it but it is not installing PFB error after running the command--  
**C:\logstash-2.4.1\bin\>logstash-plugin install logstash-output-mongodb**  
**Validating logstash-output-mongodb**  
**Unable to download data from [https://rubygems.org](https://rubygems.org) - Errno::ECONNREFUSED: Connect**  
**ion refused - Connection refused ([https://api.rubygems.org/latest\_specs.4.8.gz](https://api.rubygems.org/latest_specs.4.8.gz))**  
**ERROR: Installation aborted, verification failed for logstash-output-mongodb**

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [January 27, 2017, 1:25pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013/4 "2017-01-27T13:25:06Z")

</div>

Do you have a proxy that prevents direct HTTP connections?

---

<div class="post-metadata">

### Author: ![rlv\_praveen](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@rlv\_praveen](https://discuss.elastic.co/u/rlv_praveen)
#### Post date: [January 27, 2017, 1:28pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013/5 "2017-01-27T13:28:26Z")

</div>

Yes we do have a proxy.  
How to pass the proxy and add the plug-in?

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [January 27, 2017, 2:03pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013/6 "2017-01-27T14:03:15Z")

</div>

[https://www.elastic.co/guide/en/logstash/2.4/working-with-plugins.html#proxy-plugins](https://www.elastic.co/guide/en/logstash/2.4/working-with-plugins.html#proxy-plugins)

---

<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: [February 24, 2017, 2:03pm UTC](https://discuss.elastic.co/t/how-to-install-logstash-mongo-db-plug-in/73013/7 "2017-02-24T14:03:53Z")

</div>

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