Ensure we install java first before logstash starts