# Logstash input jmx does'nt work in logstash 5.0.0

**URL:** <https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269>\
**Category:** Logstash\
**Created:** [November 7, 2016, 7:54pm UTC](https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269 "2016-11-07T19:54:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anasoid](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@anasoid](https://discuss.elastic.co/u/anasoid)\
**Post date:** [November 7, 2016, 7:54pm UTC](https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269/1 "2016-11-07T19:54:11Z")

</div>

when installing plugin (/logstash-plugin install logstash-input-jmx) i have the folowing error :

.  
.  
.  
Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.  
Bundler could not find compatible versions for gem "logstash":  
In Gemfile:  
logstash-input-jmx (\>= 0) java depends on  
logstash (\< 2.0.0, \>= 1.4.0) java  
Could not find gem 'logstash (\< 2.0.0, \>= 1.4.0) java', which is required by gem 'logstash-input-jmx (\>= 0) java', in any of the sources.

---

<div class="post-metadata">

**Author:** ![talevy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talevy/32/44896_2.png) [@talevy](https://discuss.elastic.co/u/talevy)\
**Post date:** [November 8, 2016, 2:45am UTC](https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269/2 "2016-11-08T02:45:43Z")

</div>

looks like the fix to make it compatible with `5.0.0` was worked on, but never published.

I will work on publishing this soon and update you when version `3.0` of the plugin is ready

---

<div class="post-metadata">

**Author:** ![anasoid](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@anasoid](https://discuss.elastic.co/u/anasoid)\
**Post date:** [November 8, 2016, 9:19am UTC](https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269/3 "2016-11-08T09:19:36Z")

</div>

Many thanks,

There is any nightly build of this plugin?

---

<div class="post-metadata">

**Author:** ![nothau](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@nothau](https://discuss.elastic.co/u/nothau)\
**Post date:** [November 8, 2016, 7:05pm UTC](https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269/4 "2016-11-08T19:05:41Z")

</div>

This might help too, if you download the latest build from git and make the changes from the link, it should get you up and running.

> <https://github.com/logstash-plugins/logstash-input-jmx/issues/26>

---

<div class="post-metadata">

**Author:** ![talevy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talevy/32/44896_2.png) [@talevy](https://discuss.elastic.co/u/talevy)\
**Post date:** [November 8, 2016, 8:07pm UTC](https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269/5 "2016-11-08T20:07:10Z")

</div>

latest version of the plugin: `3.0.0` should fix this!

---

<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:** [December 6, 2016, 8:07pm UTC](https://discuss.elastic.co/t/logstash-input-jmx-doesnt-work-in-logstash-5-0-0/65269/6 "2016-12-06T20:07:23Z")

</div>

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