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

**URL:** <https://discuss.elastic.co/t/issue-observed-while-trying-to-start-the-logstash-in-elk-stack-7-5/211885>\
**Category:** Logstash\
**Created:** [December 14, 2019, 10:19pm UTC](https://discuss.elastic.co/t/issue-observed-while-trying-to-start-the-logstash-in-elk-stack-7-5/211885 "2019-12-14T22:19:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anirbandas](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@anirbandas](https://discuss.elastic.co/u/anirbandas)\
**Post date:** [December 14, 2019, 10:19pm UTC](https://discuss.elastic.co/t/issue-observed-while-trying-to-start-the-logstash-in-elk-stack-7-5/211885/1 "2019-12-14T22:19:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![VietCong](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@VietCong](https://discuss.elastic.co/u/VietCong)\
**Post date:** [December 15, 2019, 10:11pm UTC](https://discuss.elastic.co/t/issue-observed-while-trying-to-start-the-logstash-in-elk-stack-7-5/211885/2 "2019-12-15T22:11:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anirbandas](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@anirbandas](https://discuss.elastic.co/u/anirbandas)\
**Post date:** [December 16, 2019, 8:30pm UTC](https://discuss.elastic.co/t/issue-observed-while-trying-to-start-the-logstash-in-elk-stack-7-5/211885/3 "2019-12-16T20:30:01Z")

</div>

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"  
}  
}

---

<div class="post-metadata">

**Author:** ![VietCong](https://avatars.discourse-cdn.com/v4/letter/v/e47774/32.png) [@VietCong](https://discuss.elastic.co/u/VietCong)\
**Post date:** [December 17, 2019, 12:50am UTC](https://discuss.elastic.co/t/issue-observed-while-trying-to-start-the-logstash-in-elk-stack-7-5/211885/4 "2019-12-17T00:50:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 14, 2020, 12:50am UTC](https://discuss.elastic.co/t/issue-observed-while-trying-to-start-the-logstash-in-elk-stack-7-5/211885/5 "2020-01-14T00:50:42Z")

</div>

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