Issue observed while trying to start the Logstash in ELK stack 7.5

While trying to start the logstash in ELK Stack 7.5 , i am getting the below error related to java.lang.ClassNotFoundException.
C:\Users\xeadmin\Desktop\work>logstash -f logstash.conf
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was depreca
ted in version 9.0 and will likely be removed in a future release.
Error: Could not find or load main class STACK\logstash-7.5.0
Caused by: java.lang.ClassNotFoundException: STACK\logstash-7.5.0

can anybody please help me on this issue.

Did you Try to use definite file path for logstash.conf? If so, can you share content of the file?

please find the configuration of my logtash.conf file . Elastic search, Kibana and logstash are running on the same system.

input {
stdin {}
}

output {
elasticsearch {
hosts => ["localhost:9200"]
index => "indextest"
}
}

Something that sticks out to me is that you dont have any filter. Can you try adding filter {} and run it again?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.