# Updating preinstalled Logstash gems

**URL:** <https://discuss.elastic.co/t/updating-preinstalled-logstash-gems/235541>\
**Category:** Logstash\
**Created:** [June 3, 2020, 12:03pm UTC](https://discuss.elastic.co/t/updating-preinstalled-logstash-gems/235541 "2020-06-03T12:03:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuel_m/32/46108_2.png) [@Manuel\_M](https://discuss.elastic.co/u/Manuel_M)\
**Post date:** [June 3, 2020, 12:03pm UTC](https://discuss.elastic.co/t/updating-preinstalled-logstash-gems/235541/1 "2020-06-03T12:03:23Z")

</div>

Hello,

I have already developed multiple logstash-filter plugins for my company, which are located in our private repository. I don't have any problems installing them and using them in our Logstash.

I had to make changes to the webhdfs and logstash-output-webhdfs plugin and uploaded them into our repository. The problem I am currently facing is that those two plugins come already preinstalled with Logstash and I am unable to properly update those plugins with my changes.

What I tried:

Removed the logstash-output-webhdfs line and inserted the following line into the Gemfile:

```
source "http://our.own.gem.repo.com/the/path/to/it" do
  gem 'logstash-output-webhdfs'
end

```

Update plugin + output:

```
./bin/logstash-plugin update logstash-output-webhdfs
Updating logstash-output-webhdfs
No plugin updated

```

I also tried removing the plugin and reinstalling the plugin, but it doesn't install the plugin from our private repository.

\_\_

One interesting discovery that I made is that, after I run any of those commands, the Gemfile changes to that:

```
source "https://rubygems.org"
source "https://repository.porscheinformatik.com/repository/rubygems-inhouse/"
gem "logstash-output-webhdfs"
...

```

Either he now tries to download the logstash-output-webhdfs plugin from the official website (which I don't believe, reason being, I tried the steps without the 'source "[https://rubygems.org](https://rubygems.org)" line and same outcome ') or has a local backup from the plugin which it uses when updating.

Can anyone help me pls?

I am using [https://www.elastic.co/guide/en/logstash/6.8/installing-logstash.html](https://www.elastic.co/guide/en/logstash/6.8/installing-logstash.html) for installing Logstash via yum.

Cheers,  
Manuel

---

<div class="post-metadata">

**Author:** ![Manuel\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuel_m/32/46108_2.png) [@Manuel\_M](https://discuss.elastic.co/u/Manuel_M)\
**Post date:** [June 5, 2020, 7:14am UTC](https://discuss.elastic.co/t/updating-preinstalled-logstash-gems/235541/2 "2020-06-05T07:14:43Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![Manuel\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/manuel_m/32/46108_2.png) [@Manuel\_M](https://discuss.elastic.co/u/Manuel_M)\
**Post date:** [June 15, 2020, 6:09am UTC](https://discuss.elastic.co/t/updating-preinstalled-logstash-gems/235541/3 "2020-06-15T06:09:10Z")

</div>

Can anyone help?

---

<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 13, 2020, 6:09am UTC](https://discuss.elastic.co/t/updating-preinstalled-logstash-gems/235541/4 "2020-07-13T06:09:32Z")

</div>

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