Logstash 6.5.2 does not start with openjdk11

(Peter) #1


Since it was announced that ELK stack has support of Java 11 since 6.5.0 release I thought that I could start it on openjdk11. When starting I can see in the logs the following error:

Dec 10 17:18:28 mgt-wazuh-02 logstash[26570]: Unrecognized VM option 'UseParNewGC'
Dec 10 17:18:28 mgt-wazuh-02 logstash[26570]: Error: Could not create the Java Virtual Machine.
Dec 10 17:18:28 mgt-wazuh-02 logstash[26570]: Error: A fatal exception has occurred. Program will exit.

Any way I can make it happen? Note elasticsearch started up without any issues


As per my knowledge,right now, ELK doesnt support for jdk11. It is good to use jdk8/10.

(Peter) #3

I was looking at the 6.5.0 annoucement where they posted support for java 11 for elasticsearch therefore I assumed that logstash is also suporting Java 11 since in lots of the cases elasticsearch would be sharing hosts with logstash therefore they would both need to run on the same java installation.

(system) closed #4

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