Since the plugins will be run by Logstash core, matching the Logstash Core Prerequisites is going to be your best bet:
Prerequisites
Install JDK version 8. Make sure to set the JAVA_HOME environment variable to the path to your JDK installation directory. For example set JAVA_HOME=<JDK_PATH>
Install JRuby 9.1.x It is recommended to use a Ruby version manager such as RVM or rbenv.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.