# Facing issue while installing any filter plugin such as logstash-filter-elapsed

**URL:** <https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918>\
**Category:** Logstash\
**Created:** [January 28, 2020, 9:28pm UTC](https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918 "2020-01-28T21:28:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishug001](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@nishug001](https://discuss.elastic.co/u/nishug001)\
**Post date:** [January 28, 2020, 9:28pm UTC](https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918/1 "2020-01-28T21:28:14Z")

</div>

Hi everyone,

I'm trying to install logstash-filter-elapsed on my logstash environment but I'm getting below error every time. I tried installing other plugins but still observe the same issue.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fa081e1d66fffaa51ec40362926b7e3e01ee7b4f.png)

Can someone please help.

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [January 30, 2020, 3:28am UTC](https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918/2 "2020-01-30T03:28:24Z")

</div>

@nishug001 Welcome to our community forums!

The preferred way to work with Logstash plugins is to use our [plugin manager](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html).

In order to [add the plugin](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html#installing-plugins) to your environment, you could run the following command:

```auto
bin/logstash-plugin install logstash-filter-elapsed

```

I hope that helps.

---

<div class="post-metadata">

**Author:** ![nishug001](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@nishug001](https://discuss.elastic.co/u/nishug001)\
**Post date:** [January 30, 2020, 7:49am UTC](https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918/3 "2020-01-30T07:49:36Z")

</div>

Hi @ropc, thank you for your reply. I have tried

```auto
bin/logstash-plugin install logstash-filter-elapsed

```

too but still the same error. Just so you know, I'm trying to install it in my office virtual machine (Windows server 2016).

---

<div class="post-metadata">

**Author:** ![ropc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ropc/32/47022_2.png) [@ropc](https://discuss.elastic.co/u/ropc)\
**Post date:** [January 30, 2020, 10:27am UTC](https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918/4 "2020-01-30T10:27:35Z")

</div>

@nishug001

1. When you run the `bin/logstash-plugin` command, is it the same error message as the one you shared [previously](https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918)? Please attach the logs.

2. Are you able to reach [RubyGems.org](https://rubygems.org/) from the host running Logstash?

3. Do you use any proxy in your environment? If so, you need to [configure Logstash to use your proxy](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html#http-proxy).

---

<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 27, 2020, 10:27am UTC](https://discuss.elastic.co/t/facing-issue-while-installing-any-filter-plugin-such-as-logstash-filter-elapsed/216918/5 "2020-02-27T10:27:38Z")

</div>

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