How to install Logstash mongo db plug in?

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
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.

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

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 - Errno::ECONNREFUSED: Connect
ion refused - Connection refused (
ERROR: Installation aborted, verification failed for logstash-output-mongodb

Do you have a proxy that prevents direct HTTP connections?

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

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