# Logstash-plugin missing from yum repo?

**URL:** <https://discuss.elastic.co/t/logstash-plugin-missing-from-yum-repo/48242>\
**Category:** Logstash\
**Created:** [April 23, 2016, 9:59pm UTC](https://discuss.elastic.co/t/logstash-plugin-missing-from-yum-repo/48242 "2016-04-23T21:59:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vchav73](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@vchav73](https://discuss.elastic.co/u/vchav73)\
**Post date:** [April 23, 2016, 9:59pm UTC](https://discuss.elastic.co/t/logstash-plugin-missing-from-yum-repo/48242/1 "2016-04-23T21:59:09Z")

</div>

I am updating from a 1.x installation to 2.3 on a CentOS 6 server. I removed the 1.x install using yum, saving the config files. I then installed 2.3 using this procedure: [https://www.elastic.co/guide/en/logstash/current/installing-logstash.html#\_yum](https://www.elastic.co/guide/en/logstash/current/installing-logstash.html#_yum). I checked logstash.log after starting the logstash service and saw this: Couldn't find any input plugin named 'collectd'. I followed the instructions from here: [https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html) to add the collectd plug in, but the logstash-plugin executable seems to be missing:

[root@Analytics logstash]# logstash-plugin list  
-bash: logstash-plugin: command not found  
[root@Analytics logstash]#

Is the logstash-plugin executable not included in the RPM? Or is it installed in some non-standard directory?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 23, 2016, 10:41pm UTC](https://discuss.elastic.co/t/logstash-plugin-missing-from-yum-repo/48242/2 "2016-04-23T22:41:17Z")

</div>

So this file doesn't exist?

```auto
# /opt/logstash/bin/logstash-plugin
Usage:
    bin/logstash-plugin [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
    SUBCOMMAND subcommand
    [ARG] ... subcommand arguments

Subcommands:
    install Install a plugin
    uninstall Uninstall a plugin
    update Update a plugin
    pack Package currently installed plugins
    unpack Unpack packaged plugins
    list List all installed plugins

Options:
    -h, --help print help

```

---

<div class="post-metadata">

**Author:** ![vchav73](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@vchav73](https://discuss.elastic.co/u/vchav73)\
**Post date:** [April 25, 2016, 12:56am UTC](https://discuss.elastic.co/t/logstash-plugin-missing-from-yum-repo/48242/3 "2016-04-25T00:56:01Z")

</div>

Ah. Didn't realize it was installed in /opt. I expect somewhere in /usr.

Ok, now that I can run logstash-plugin I get this:

```
[root@Analytics bin]# ./logstash-plugin install logstash-input-collectd
Validating logstash-input-collectd
Plugin logstash-input-collectd does not exist
ERROR: Installation aborted, verification failed for logstash-input-collectd

```

My 1.x logstash config has this in it:

```
input {
  lumberjack {
    type => "logs"
    port => 5043
    ssl_certificate => "/etc/ssl/certs/lumberjack.crt"
    ssl_key => "/etc/ssl/keys/lumberjack.key"
    tags => ["lumberjack"]
  }
  collectd {
    tags => ["collectd"]
  }
  file {
    type => "replication"
    path => "/var/log/replication.log"
  }
}

```

I notice that there is a logstash-codec-collectd plug-in. I'm guessing the collectd plug-in changed from 1.x to 2.x and I need to update my config file to reflect the change?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 25, 2016, 1:06am UTC](https://discuss.elastic.co/t/logstash-plugin-missing-from-yum-repo/48242/4 "2016-04-25T01:06:49Z")

</div>

It's a codec, not an input - [https://github.com/logstash-plugins/logstash-codec-collectd](https://github.com/logstash-plugins/logstash-codec-collectd)

---

<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, 5:00am UTC](https://discuss.elastic.co/t/logstash-plugin-missing-from-yum-repo/48242/5 "2017-07-06T05:00:53Z")

</div>


