# Unable to install the elapsed plugin on windows

**URL:** <https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609>\
**Category:** Logstash\
**Created:** [February 10, 2017, 7:04am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609 "2017-02-10T07:04:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![GautamP](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@GautamP](https://discuss.elastic.co/u/GautamP)\
**Post date:** [February 10, 2017, 7:04am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/1 "2017-02-10T07:04:24Z")

</div>

Continuing the discussion from [Query to access distinct fields from different documents](https://discuss.elastic.co/t/query-to-access-distinct-fields-from-different-documents/74493/2):

I'm trying to install the logstash elapsed plugin on windows 7.

I ran the code `C:\ELK\logstash-5.2.0\bin>logstash-plugin.bat install --no-verify logstash-filter-elapsed` and got the error :

```
Installing logstash-filter-elapsed
Error Bundler::HTTPError, retrying 1/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 2/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 3/10
Could not fetch specs from https://rubygems.org/

```

I then downloaded the plugin from [https://rubygems.org/gems/logstash-filter-elapsed/versions/4.0.0](https://rubygems.org/gems/logstash-filter-elapsed/versions/4.0.0)

I tried installing the plugin directly offline using the command:

```
C:\ELK\logstash-5.2.0\bin>logstash-plugin.bat install c:/logstash-filter-elapsed-4.0.0.gem

```

I again end up getting a different error:

```
Validating c:/logstash-filter-elapsed-4.0.0.gem
Installing logstash-filter-elapsed
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.2.0), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.2.0'` succeeds before bundling.
Error Bundler::InstallError, retrying 2/10
An error occurred while installing logstash-core-event-java (5.2.0), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.2.0'` succeeds before bundling.
```

---

<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:** [February 10, 2017, 7:39am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/2 "2017-02-10T07:39:07Z")

</div>

Do you access the web via a proxy that you need to tell logstash-plugin to use?

---

<div class="post-metadata">

**Author:** ![GautamP](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@GautamP](https://discuss.elastic.co/u/GautamP)\
**Post date:** [February 10, 2017, 8:36am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/3 "2017-02-10T08:36:26Z")

</div>

@magnusbaeck Yes, I access the web via a proxy. I use an automatic configuration script. But I don't know how to bypass the proxy to enable the plugin installation.

---

<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:** [February 10, 2017, 8:41am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/4 "2017-02-10T08:41:26Z")

</div>

Logstash doesn't use your configuration script. I'd say the problem is that it's _not_ using the proxy and that you have to tell it which proxy server to use. See the documentation.

---

<div class="post-metadata">

**Author:** ![GautamP](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@GautamP](https://discuss.elastic.co/u/GautamP)\
**Post date:** [February 10, 2017, 9:12am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/5 "2017-02-10T09:12:56Z")

</div>

Do I need to specify the proxy server for the offline installation as well?

---

<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:** [February 10, 2017, 12:03pm UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/6 "2017-02-10T12:03:34Z")

</div>

Not sure, but it won't hurt.

---

<div class="post-metadata">

**Author:** ![GautamP](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@GautamP](https://discuss.elastic.co/u/GautamP)\
**Post date:** [February 13, 2017, 8:46am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/7 "2017-02-13T08:46:46Z")

</div>

Thanks

---

<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:** [March 13, 2017, 8:46am UTC](https://discuss.elastic.co/t/unable-to-install-the-elapsed-plugin-on-windows/74609/8 "2017-03-13T08:46:55Z")

</div>

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