Logstash(7.1.1) is not working in windows 2012 R2 server

Hi Team,

I am unable to start logstatsh 7.1.1, it got aborted and it does not create the log file. I am getting the below error message -
warning: ignoring JAVA_OPTS= -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitia
tingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=
true -Dfile.encoding=UTF-8 -Djruby.compile.invokedynamic=true -Djruby.jit.thresh
old=0 -XX:+HeapDumpOnOutOfMemoryError -Djava.security.egd=file:/dev/urandom ; pa
ss JVM parameters via LS_JAVA_OPTS

Kindly help.
Regards,
Jagadish

That is a warning that should not prevent logstash starting. Can you show the complete log file?

The log is not created.

Even I have tried in windows 7, it is working fine but in windows 2012 server, logstash got crashed, even log file also not get created in the folder. I have run the simple command to chcek my logstash is working fine or not -

logstash.bat -e "input { stdin { } } output { stdout {} }"

Could you please help me the above issue. Thanks in advance.

Even I typed logstash - h, I am getting the same error, Did I missed something?

Thanks.

D:\ELK\logstash-7.1.1\bin>logstash -h
warning: ignoring JAVA_OPTS= -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitia
tingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=
true -Dfile.encoding=UTF-8 -Djruby.compile.invokedynamic=true -Djruby.jit.thresh
old=0 -XX:+HeapDumpOnOutOfMemoryError -Djava.security.egd=file:/dev/urandom ; pa
ss JVM parameters via LS_JAVA_OPTS

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