I have logstash installed on windows 10 laptop.When I try to execute logstash using the command below , nothing happens and all see is the message below.
I have ued --config.debug on command line , but get the same message shown above.I have logstash 6.2.2 . I tried using 5.6.8 and got exact same message .Any Idea what I might be missing ?Any help is highly appreciated.
If you actually want to start Logstash rather than just test the syntax of the configuration and exit then don't use the --config.test_and_exit option.
Hi magnusbaek - Thank you for your response. I wanted to test the configuration , so I was using --config.test_and_exit . I also tried removing that and nothing happens.
logstash-5.5.0\bin>logstash
JAVA_OPTS was set to [-Xms3g -Xmx3g -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC -
XX:+UseParNewGC]. Logstash will trust these options, and not set any defaults that it might usually set
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in
8.0
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version
9.0 and will likely be removed in a future release.
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.