I download it at https://www.elastic.co/downloads/logstash. And test it in CentOS 7.0. The JRE's version is 1.8.0_101
. When I run ./bin/logstash agent -f config/log4j_to_es.conf
it prints:
Unable to find JRuby.
If you are a user, this is a bug.
If you are a developer, please run 'rake bootstrap'. Running 'rake' requires the 'ruby' program be available.
I download the TAR.GZ
package. I don't know how to fix it.