简体   繁体   中英

How to install logstash-input-jmx in RHEL?

Has anyone installed logstash-input-jmx (or any other "community" plugin for Logstash) in RHEL?

How did you manage the Ruby/gem dependencies?

After installing a recent version of Ruby, RubyGems, and Rails, the development/runtime gem dependencies have to be resolved, but attempting to install any of the gems mentioned in here , would lead to endless missing dependencies ...

Are there any packaged versions of Logstash JMX plugin around?

Thanks,

Babak.

Welcome to the house of fun. What I did was, which may be out of your scope but it might help....

$logstash_location/bin/logstash-plugin list

(as you might expect this shows what can be installed to your instance)

$logstash_location/bin/logstash-plugin install logstash-input-jmx

The plugin itself should resolve its own dependencies. I was having all sort of problems in Docker, but I had to build my Logstash tarball external to the machine. Make sure connectivity is ok too. It's a service, not local to your machine.

This post clearly describes the steps required to install a "community" logstash plugin, and can be used to install jmx plugin on RHEL. I've tried it on RHEL 7.3.

The main thing to consider is that in RHEL 7.3 the logstash can be found under /usr/share/logstash/ rather than /opt/logstash

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM