# Install logstash-input-fluentd plugin doesn't work (logstash 5.x)

**URL:** <https://discuss.elastic.co/t/install-logstash-input-fluentd-plugin-doesnt-work-logstash-5-x/87929>\
**Category:** Logstash\
**Created:** [June 1, 2017, 2:44pm UTC](https://discuss.elastic.co/t/install-logstash-input-fluentd-plugin-doesnt-work-logstash-5-x/87929 "2017-06-01T14:44:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fragatina](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@fragatina](https://discuss.elastic.co/u/fragatina)\
**Post date:** [June 1, 2017, 2:44pm UTC](https://discuss.elastic.co/t/install-logstash-input-fluentd-plugin-doesnt-work-logstash-5-x/87929/1 "2017-06-01T14:44:37Z")

</div>

I have logstash 5.4 (latest release) installed through RPM.  
I cannot successfully install logstash-input-fluentd plugin with this version because it complains about:

> 

Bundler could not find compatible versions for gem "logstash-core":  
In snapshot (Gemfile.lock):  
logstash-core (= 5.4.0)  
In Gemfile:  
logstash-core-plugin-api (\>= 0) java depends on  
logstash-core (= 5.4.0) java  
logstash-input-fluentd (\>= 0) java depends on  
logstash-core (\< 3.0.0, \>= 2.0.0.snapshot) java  
logstash-core (\>= 0) java

> 

From the documentation in [rubygems.org](http://rubygems.org) ([logstash-input-fluentd | RubyGems.org | your community gem host](https://rubygems.org/gems/logstash-input-fluentd/versions/2.0.4)), the lastest version (2.0.4) of the logstash-input-fluentd plugin  
should work with logstash-core = 5.4.

Is there an official workaround to install this plugin with logstash 5.x version?

Is it suggested to send the logs directly from fluentd to elasticsearch?  
(I'd prefer to use Logstash as the centralized logging since we are using it for receiving other logs too)

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:** [June 29, 2017, 2:44pm UTC](https://discuss.elastic.co/t/install-logstash-input-fluentd-plugin-doesnt-work-logstash-5-x/87929/2 "2017-06-29T14:44:40Z")

</div>

Closed on June 29, 2017, 2:44pm UTC

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