SandeepG
(Sandeep)
February 13, 2018, 9:42am
1
Hi,
I just downloaded logstash and trying to install in windows 7 through command prompt. While testing logstash with command i am getting this warning.
C:\Elastic Search\logstash-6.2.0\bin>logstash -e 'input { stdin { } } output { s
tdout {} }'
warning: ignoring JAVA_OPTS= -Xms1g -Xmx1g -XX:+UseParNewGC -XX:+UseConcMarkSwee
pGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Dj
ava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.compile.invokedynamic=true -
Djruby.jit.threshold=0 -XX:+HeapDumpOnOutOfMemoryError -Djava.security.egd=file:
/dev/urandom ; pass JVM parameters via LS_JAVA_OPTS
Any one please help me why i am getting this warning.
Thanks
warkolm
(Mark Walkom)
February 14, 2018, 12:51am
2
It's safe to ignore that, it's just saying JAVA_OPTS
is not a valid config parameter and to use LS_JAVA_OPTS
instead.
SandeepG
(Sandeep)
February 14, 2018, 5:29am
3
Thanks warkolm for your reply. By using this command C:\Elastic Search\logstash-6.2.0\bin>logstash -e 'input { stdin { } } output { stdout {} }' logstash configured from command window and it should be started. But i got warning message only logstash didn't started.
Can i know what is the reason why logstash is not started and what step i have to do now?
warkolm
(Mark Walkom)
February 14, 2018, 6:34am
4
Please post the entire command and output.
SandeepG
(Sandeep)
February 14, 2018, 7:31am
5
I ran below command with admin access to check logstash setup is working or not
C:\Elastic Search\logstash-6.2.0\bin>logstash -e 'input { stdin { } } output { s
tdout {} }'
It showed me the below warning and logstash didn't started.
warning: ignoring JAVA_OPTS= -Xms1g -Xmx1g -XX:+UseParNewGC -XX:+UseConcMarkSwee
pGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Dj
ava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.compile.invokedynamic=true -
Djruby.jit.threshold=0 -XX:+HeapDumpOnOutOfMemoryError -Djava.security.egd=file:
/dev/urandom ; pass JVM parameters via LS_JAVA_OPTS
JAVA_HOME environment variable is also created with jdk 8 version.
logstash version is 6.2.0
Can know reason for not staring logstash.
system
(system)
Closed
March 14, 2018, 7:31am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.