# How to install logstash plugin from source

**URL:** <https://discuss.elastic.co/t/how-to-install-logstash-plugin-from-source/71167>\
**Category:** Logstash\
**Created:** [January 11, 2017, 3:57am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-from-source/71167 "2017-01-11T03:57:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdaruna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sdaruna/32/7289_2.png) [@sdaruna](https://discuss.elastic.co/u/sdaruna)\
**Post date:** [January 11, 2017, 3:57am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-from-source/71167/1 "2017-01-11T03:57:12Z")

</div>

Hi,

We need to install datadog\_metrics plugin in logstash.  
Due to our network settings, logstash defaul install plugin command cannot connect outside world and get the required libraries it seems. We end up receiving connection refused and we cannot change the network settings being in secured environment.

Is there a way to get plugin in gem form directly or how can i build the plugin from source and add it to logstash.?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 11, 2017, 5:02am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-from-source/71167/2 "2017-01-11T05:02:08Z")

</div>

The docs cover a few options [https://www.elastic.co/guide/en/logstash/5.1/offline-plugins.html](https://www.elastic.co/guide/en/logstash/5.1/offline-plugins.html)

---

<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 8, 2017, 5:02am UTC](https://discuss.elastic.co/t/how-to-install-logstash-plugin-from-source/71167/3 "2017-02-08T05:02:23Z")

</div>

Closed on February 8, 2017, 5:02am UTC

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