Open Distro and Logstash same node different JAVA_HOME

Hello everyone,

I have setup a 5 nodes elasticsearch cluster with Elastic Stack and I placed elasticsearch + logstash on nodes 1 and 2. Elasticsearch from Elastic Stack default uses a bundled jdk that comes with the installation and logstash defaults to OS jdk (Centos in my case).

Now I’m migrating the same architecture to Open Distro and I could not configure it to use the bundled installation of Java and my main concern is if Elasticsearch and Logstash using the same Java environment could lead to future issues. I’m not using Docker, just RPM deployment.

Is it possible to link Elasticsearch and Logstash each to different java environments?

Thank you in advance.