# Logstash plugin install fails

**URL:** <https://discuss.elastic.co/t/logstash-plugin-install-fails/121700>\
**Category:** Logstash\
**Created:** [February 27, 2018, 5:13pm UTC](https://discuss.elastic.co/t/logstash-plugin-install-fails/121700 "2018-02-27T17:13:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reswob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/reswob/32/38015_2.png) [@reswob](https://discuss.elastic.co/u/reswob)\
**Post date:** [February 27, 2018, 5:13pm UTC](https://discuss.elastic.co/t/logstash-plugin-install-fails/121700/1 "2018-02-27T17:13:55Z")

</div>

I'm trying to install a plugins for logstash 6.1.1. We have configured our f/w to NOT decrypt this traffic as it seems to break the plugin installs.

I installed logstash-filter-tld and logstash-filter-rest just fine. But then I can not install logstash-output-syslog.

First I tried this:

```
# /usr/share/logstash/bin/logstash-plugin install logstash-output-syslog
ERROR: Something went wrong when installing logstash-output-syslog, message: Socket closed

```

Then I tried downloading the zip from github and tried the below:

```
# /usr/share/logstash/bin/logstash-plugin install file:///opt/logstash-output-syslog-master.zip
Installing file: /opt/logstash-output-syslog-master.zip
ERROR: Invalid pack for: file:///opt/logstash-output-syslog-master.zip, reason: The pack must contains at least one plugin, message: The pack must contains at least one plugin

```

Multiple forum posts say this is not the way to install plugins so....

I tried the instructions here: [https://www.elastic.co/guide/en/logstash/current/offline-plugins.html](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html)  
using the configs from the 5.4.3 Logstash server I had running. When I tried to install the resulting file, this is response:

```
# /usr/share/logstash/bin/logstash-plugin install file:///opt/logstash-offline-plugins-5.6.7.zip
Installing file: /opt/logstash-offline-plugins-5.6.7.zip
ERROR: An error occured when installing the: file:///opt/logstash-offline-plugins-5.6.7.zip, to have more information about the error add a DEBUG=1 before running the command., message: You have requested:
  logstash-codec-line = 3.0.8

The bundle currently has logstash-codec-line locked at 3.0.6.
Try running `bundle update logstash-codec-line`

```

googling "Socket Closed" returned no hits having to do with Logstash.

googling the bundle command didn't give any good instructions on how to run it.  
This post: [https://github.com/elastic/logstash/issues/3334](https://github.com/elastic/logstash/issues/3334) may apply, but it's not clear as there is no reference to running that exact command. Should I update all my plugins? Something else? I don't think I have a plugin called logstash-codec-line....

```
 # /usr/share/logstash/bin/bundle update logstash-codec-line
-bash: /usr/share/logstash/bin/bundle: No such file or directory

# /usr/share/logstash/bin/logstash-bundle update logstash-codec-line
-bash: /usr/share/logstash/bin/logstash-bundle: No such file or directory

# locate bundle
doesn't turn up anything.

```

Suggestions?

---

<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 27, 2018, 5:14pm UTC](https://discuss.elastic.co/t/logstash-plugin-install-fails/121700/2 "2018-03-27T17:14:22Z")

</div>

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