I am facing issue on configuring Logstash, have set java_home with Jave 1.8.0_171 (JDK)
While running logstash -f logstash-sample.conf - throwing error as Oracle "" was unexpected at this time.
On other side used NSSM and installed Logstash as service installed successfully but on starting the logstash service its automatically paused and throw a popup error as below
Windows could not resume the logstach service on local Computer.
The service did not return an error. This could be internal windows error or an internal server error.
If the problem persists, ocntact your system administrator.
That is primarily used for testing, and I am not if it works when running Logstash as a service. If you are starting out, have a look at this introductory blog post.
As specified in the blog post Practical introduction, placed test.config 6 testdata.log using nssm configured the logstash service - installed successfully but there is no output generated
Also while running logstash -f test.conf - getting same Oracle "" unexpected at this time.
Please help me to fix this issue. note that I am in initial level trying to test the log that exists in testdata.log to be display in the output file
While you are working with the configuration it is often easier to start and stop Logstash manually rather than running it as a service. This makes it easier to spot errors in the configuration, and it looks like yours is not valid.
No its exists, if I run nssm install logstash with test.conf - installation is success but while stating the service throwing error as
Windows could not resume the logstash service on local Computer.
The service did not return an error. This could be internal windows error or an internal server error.
If the problem persists, contact your system administrator.
as in the screen shot in step-1
logstash\bin folder files has logstash.bat and logstash file
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.