# Error installing plugin contrib

**URL:** <https://discuss.elastic.co/t/error-installing-plugin-contrib/58633>\
**Category:** Logstash\
**Created:** [August 22, 2016, 11:14pm UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633 "2016-08-22T23:14:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![scosta](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@scosta](https://discuss.elastic.co/u/scosta)\
**Post date:** [August 22, 2016, 11:14pm UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633/1 "2016-08-22T23:14:43Z")

</div>

I'm having trouble installing the plugin contrib in logstash . It returns me the following error: **plugin contrib does not exist.** Can someone help me?

Thank you.

---

<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:** [August 23, 2016, 5:34am UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633/2 "2016-08-23T05:34:05Z")

</div>

What exact command are you running?

---

<div class="post-metadata">

**Author:** ![scosta](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@scosta](https://discuss.elastic.co/u/scosta)\
**Post date:** [August 23, 2016, 1:56pm UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633/3 "2016-08-23T13:56:56Z")

</div>

First I go to the logstash installation directory, / opt / logstash and I type the command bin/plugin install contrib.

Now is returning me the error: ERROR: File /opt/logstash/Gemfile does not exist or is not writable, aborting.

---

<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:** [August 23, 2016, 1:58pm UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633/4 "2016-08-23T13:58:57Z")

</div>

> First I go to the logstash installation directory, / opt / logstash and I type the command bin/plugin install contrib.

There is no plugin named "contrib". Where did you read about that?

> Now is returning me the error: ERROR: File /opt/logstash/Gemfile does not exist or is not writable, aborting.

Are you running the command as yourself rather than as root?

---

<div class="post-metadata">

**Author:** ![scosta](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@scosta](https://discuss.elastic.co/u/scosta)\
**Post date:** [August 23, 2016, 5:20pm UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633/5 "2016-08-23T17:20:32Z")

</div>

I read about the "contrib" on a website talking about elk stack. It tells me I need this plugin to be able to run the filters, such as grok, match, grep. To use them a specific plugin is necessary?

---

<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:** [August 23, 2016, 5:33pm UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633/6 "2016-08-23T17:33:51Z")

</div>

That information is very outdated and the grep filter is deprecated since at least two years. Most filters you'll need all included and the rest can be installed by following the instructions on [elastic.co](http://elastic.co).

---

<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, 4:42am UTC](https://discuss.elastic.co/t/error-installing-plugin-contrib/58633/7 "2017-07-06T04:42:00Z")

</div>


