# ERROR: Mixed source of plugins, you can't mix local \`.gem\` and remote gems

**URL:** <https://discuss.elastic.co/t/error-mixed-source-of-plugins-you-cant-mix-local-gem-and-remote-gems/40019>\
**Category:** Logstash\
**Created:** [January 25, 2016, 11:36am UTC](https://discuss.elastic.co/t/error-mixed-source-of-plugins-you-cant-mix-local-gem-and-remote-gems/40019 "2016-01-25T11:36:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Latha\_P](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@Latha\_P](https://discuss.elastic.co/u/Latha_P)\
**Post date:** [January 25, 2016, 11:36am UTC](https://discuss.elastic.co/t/error-mixed-source-of-plugins-you-cant-mix-local-gem-and-remote-gems/40019/1 "2016-01-25T11:36:15Z")

</div>

Hi,  
when i execute below script  
plugin install C:\analysis tools\logstash-2.1.1\bin\logstash-input-mongodb-0.3.0.gem

getting error  
ERROR: Mixed source of plugins, you can't mix local `.gem` and remote gems

in command prompt. i am trying to achieve import data from mongodb to logstash.  
I am referring below link.

> **[phutchins/logstash-input-mongodb](https://github.com/phutchins/logstash-input-mongodb)**
>
> logstash-input-mongodb - MongoDB input plugin for Logstash

  
thanks in advance.

---

<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:** [July 6, 2017, 5:14am UTC](https://discuss.elastic.co/t/error-mixed-source-of-plugins-you-cant-mix-local-gem-and-remote-gems/40019/2 "2017-07-06T05:14:28Z")

</div>

Closed on July 6, 2017, 5:14am UTC


