I have created a bacth file and tried to call it through Task scheduler. It is giving an error unable to launch. but am able to run manually(Without Scheduler) Its perfectly working .
You need to capture the output of the scheduled task (including stderr). logstash will be logging an error, maybe something like being unable to find java in the PATH.
See this Q&A for advice. I definitely recommend the second answer over the first (i.e. include the 2>&1)
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.