unable to start logstash, while Elasticsearch and kibana both are up and running.
logtstash.conf looks like

no change on any other file
logstash.yml has everything commented except "pipeline.ordered: auto"
Hello @shivani_chittauri
Welcome to Elastic Community
!!!
There is small error in your config code, in output plugin of Elasticsearch code block should be closed first then should proceed on to the stdout code block like the below
input{
stdin{}
}
output
{
elasticsearch{
hosts => ["http://localhost:9200"]
user => "<Your-es-username>"
password => "<Your-es-pwd>"
}
stdout
{
codec => rubydebug
}
}
The relative filepath should be mentioned in quotes.
Try like the below
.\logstash.bat -f "..\config\logstash.conf"
Keep Posted!!! Thanks!!! ![]()
logstash should have logged an error about the configuration to the console. I would suggest editing bin/logstash.bat and changing @echo off to @echo on. That will let you make sure it is taking the right path through the script.
OK, now edit setup.bat and make the same change to @echo on.
it resolved. I was having JAVA_OPTS set up as an environment variable, though it was giving warning, but actually was error, so i replaced JAVA_OPTS with LS_JAVA_OPTS
© 2020. All Rights Reserved - Elasticsearch
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.