# Logstash install and startup error

**URL:** <https://discuss.elastic.co/t/logstash-install-and-startup-error/273208>\
**Category:** Logstash\
**Created:** [May 17, 2021, 5:48pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208 "2021-05-17T17:48:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MKirby](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@MKirby](https://discuss.elastic.co/u/MKirby)\
**Post date:** [May 17, 2021, 5:48pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/1 "2021-05-17T17:48:31Z")

</div>

Good Afternoon;  
I am new to the ELK tools and am in the midst of a proof of concept using them. I am testing on a Windows 10 Professional box and have been able to install and get running both ElasticSearch and Kibana. However when I attempt to run the Logstash I receive the following:

logstash stopped processing becase of an error: (SystemExit) exit org.jruby.exception.SystemExit: (SystemExit) exit.

i have been following the How to Install ElkStack found on the following website:

> **[How to install ELK stack or Elastic stack (Elasticsearch, Logstash, Kibana)...](https://iteritory.com/how-to-install-elk-stack-or-elastic-stack-elasticsearch-logstash-kibana-in-windows/)**
>
> Learn what is ELK stack. Learn how to install ELK stack or Elastic stack (Elasticsearch, Logstash, Kibana) in windows system.

This has worked for the most part. When I go through the process for the Logstash it does start the API on port 9600 and then immediately turns it off.

Any help is much appreciated. I am still in the testing phase.

MKirby

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 17, 2021, 6:13pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/2 "2021-05-17T18:13:18Z")

</div>

> [@MKirby](#):
>
> logstash stopped processing becase of an error: (SystemExit) exit org.jruby.exception.SystemExit: (SystemExit) exit.

What does you logstash configuration file look like? What other messages does logstash log?

---

<div class="post-metadata">

**Author:** ![MKirby](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@MKirby](https://discuss.elastic.co/u/MKirby)\
**Post date:** [May 17, 2021, 6:20pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/3 "2021-05-17T18:20:30Z")

</div>

Badger;

My logstash config file is very basic at the moment. It is a copy and past of the logstash-sample.conf file. The logstash-plain log file is the only one collecting data, the depreication.log and slowlog-plain.log are not being populated. What I am seeing the logstash-plain.log file is:

Thank you for your feedback and assistance.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 17, 2021, 6:29pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/4 "2021-05-17T18:29:18Z")

</div>

> [@MKirby](#):
>
> What I am seeing the logstash-plain.log file is:

and what is that?

---

<div class="post-metadata">

**Author:** ![MKirby](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@MKirby](https://discuss.elastic.co/u/MKirby)\
**Post date:** [May 17, 2021, 6:33pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/5 "2021-05-17T18:33:18Z")

</div>

Sorry, thought I had it copied out. Here is what is repeated in the logstash-plain log.

[2021-05-17T13:13:09,198][INFO][logstash.runner] Log4j configuration path used is: D:\ELK\Logstash\logstash-7.12.1\config\log4j2.properties  
[2021-05-17T13:13:09,211][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"7.12.1", "jruby.version"=\>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 11.0.10+9 on 11.0.10+9 +indy +jit [mswin32-x86\_64]"}  
[2021-05-17T13:13:09,342][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2021-05-17T13:13:10,049][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"d:/elk/logstasch/bin/logstasch.conf"}  
[2021-05-17T13:13:10,132][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.  
[2021-05-17T13:13:10,347][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2021-05-17T13:13:10,468][INFO][logstash.runner] Logstash shut down.  
[2021-05-17T13:13:10,479][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit  
org.jruby.exceptions.SystemExit: (SystemExit) exit  
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.13.0.jar:?]  
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.13.0.jar:?]  
at D\_3a\_.ELK.Logstash.logstash\_minus\_7\_dot\_12\_dot\_1.lib.bootstrap.environment.(D:\ELK\Logstash\logstash-7.12.1\lib\bootstrap\environment.rb:89) ~[?:?]

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 17, 2021, 6:41pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/6 "2021-05-17T18:41:02Z")

</div>

> [@MKirby](#):
>
> No config files found in path {:path=\>"d:/elk/logstasch/bin/logstasch.conf"}

The file does not exist. Is logstasch a typo?

---

<div class="post-metadata">

**Author:** ![MKirby](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@MKirby](https://discuss.elastic.co/u/MKirby)\
**Post date:** [May 17, 2021, 7:02pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/7 "2021-05-17T19:02:37Z")

</div>

Thank you for catching those spelling mistakes. I have been looking at this for too long the extra set of eyes is a big help. I will make the changes and let you know what the results are.

---

<div class="post-metadata">

**Author:** ![MKirby](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@MKirby](https://discuss.elastic.co/u/MKirby)\
**Post date:** [May 17, 2021, 7:46pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/8 "2021-05-17T19:46:19Z")

</div>

Badger;

I got it to work. Thank you for your help in this.  
End result was I left out a branch in the folders to get to where the logstach.conf file was. After i added the full path to the conf file it worked.

---

<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:** [June 14, 2021, 7:46pm UTC](https://discuss.elastic.co/t/logstash-install-and-startup-error/273208/9 "2021-06-14T19:46:58Z")

</div>

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