here is my dockerfile:
FROM docker.elastic.co/logstash/logstash:6.2.1 SHELL ["/bin/bash", "-c"] COPY ./jvm.options /etc/logstash/jvm.options
Copied my jvm options right from https://github.com/elastic/logstash/blob/master/config/jvm.options
First thing I get is
Invalid initial heap size: -Xms1g and my docker service is allocated 2.5 gigs, so should have enough.
THen I comment out the memory settings and get a new error:
'nrecognized VM option 'UseParNewGC
Did you mean '(+/-)UseParNewGC'?
Is this even supposed to work? Your docs are broken too: https://www.elastic.co/guide/en/logstash/current/_configuring_logstash_for_docker.html