# Error when i will start logstash

**URL:** <https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664>\
**Category:** Logstash\
**Created:** [May 14, 2018, 6:45am UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664 "2018-05-14T06:45:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheOnlyOne](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theonlyone/32/31400_2.png) [@TheOnlyOne](https://discuss.elastic.co/u/TheOnlyOne)\
**Post date:** [May 14, 2018, 6:45am UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664/1 "2018-05-14T06:45:04Z")

</div>

Hello,  
im new at Elastic Stack.  
When i will start logstash i get a error Message:

Logstash, Kibana, Elasticsearch everything on the newest Version.

PS C:\ELK-Stack\logstash\> C:\ELK-Stack\logstash\bin\logstash.bat  
Sending Logstash's logs to C:/ELK-Stack/logstash/logs which is now configured via log4j2.properties  
[2018-05-14T08:41:45,819][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/ELK-Stack/logstash/modules/fb\_apache/configuration"}  
[2018-05-14T08:41:45,923][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/ELK-Stack/logstash/modules/netflow/configuration"}  
[2018-05-14T08:41:46,057][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.queue", :path=\>"C:/ELK-Stack/logstash/data/queue"}  
[2018-05-14T08:41:46,077][INFO][logstash.setting.writabledirectory] Creating directory {:setting=\>"path.dead\_letter\_queue", :path=\>"C:/ELK-Stack/logstash/data/dead\_letter\_queue"}  
ERROR: Pipelines YAML file is empty. Location: C:/ELK-Stack/logstash/config/pipelines.yml  
usage:  
bin/logstash -f CONFIG\_PATH [-t] [-r] [] [-w COUNT] [-l LOG]  
bin/logstash --modules MODULE\_NAME [-M "MODULE\_NAME.var.PLUGIN\_TYPE.PLUGIN\_NAME.VARIABLE\_NAME=VALUE"] [-t] [-w COUNT] [-l LOG]  
bin/logstash -e CONFIG\_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]  
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash --help  
[2018-05-14T08:41:46,944][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

can anybody help me?

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [May 14, 2018, 7:12am UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664/2 "2018-05-14T07:12:15Z")

</div>

Hi,

this thread might help you.

> [@Pipelines YAML file is empty](https://discuss.elastic.co/t/pipelines-yaml-file-is-empty/128858):
>
> Hi, I am trying to load a csv file to Elasticsearch using Logstash. I ran this command: bin/logstash --path.data file\_name.conf I get this error: ERROR: Pipelines YAML file is empty. Location: /home/nerifkh/Downloads/logstash/config/pipelines.yml usage: bin/logstash -f CONFIG\_PATH [-t] [-r] [] [-w COUNT] [-l LOG] bin/logstash --modules MODULE\_NAME [-M "MODULE\_NAME.var.PLUGIN\_TYPE.PLUGIN\_NAME.VARIABLE\_NAME=VALUE"] [-t] [-w COUNT] [-l LOG] bin/logstash -e CONFIG\_STR [-t] [--log.level…

---

<div class="post-metadata">

**Author:** ![TheOnlyOne](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theonlyone/32/31400_2.png) [@TheOnlyOne](https://discuss.elastic.co/u/TheOnlyOne)\
**Post date:** [May 14, 2018, 7:44am UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664/3 "2018-05-14T07:44:53Z")

</div>

Hi pjanzen,

i have deleted the code in the .logstash.yml

When i restart ive get this error messages:

[2018-05-14T09:29:49,477][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"C:/ELK-Stack/logstash/modules/fb\_apache/configuration"}  
[2018-05-14T09:29:49,501][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"C:/ELK-Stack/logstash/modules/netflow/configuration"}  
[2018-05-14T09:29:49,633][FATAL][logstash.runner] An unexpected error occurred! {:error=\>#\<ArgumentError: Setting "" hasn't been registered\>, :backtrace=\>["C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:37:in `get_setting'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:70:in`set\_value'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:89:in `block in merge'", "org/jruby/RubyHash.java:1343:in`each'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:89:in `merge'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:138:in`validate\_all'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/runner.rb:264:in `execute'", "C:/ELK-Stack/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in`run'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/runner.rb:219:in `run'", "C:/ELK-Stack/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in`run'", "C:\ELK-Stack\logstash\lib\bootstrap\environment.rb:67:in `<main>'"]} [2018-05-14T09:29:49,650][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit [2018-05-14T09:31:33,049][INFO][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"C:/ELK-Stack/logstash/modules/fb_apache/configuration"} [2018-05-14T09:31:33,077][INFO][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"C:/ELK-Stack/logstash/modules/netflow/configuration"} [2018-05-14T09:31:33,176][FATAL][logstash.runner] An unexpected error occurred! {:error=>#<ArgumentError: Setting "" hasn't been registered>, :backtrace=>["C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:37:in`get\_setting'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:70:in `set_value'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:89:in`block in merge'", "org/jruby/RubyHash.java:1343:in `each'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:89:in`merge'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/settings.rb:138:in `validate_all'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/runner.rb:264:in`execute'", "C:/ELK-Stack/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "C:/ELK-Stack/logstash/logstash-core/lib/logstash/runner.rb:219:in`run'", "C:/ELK-Stack/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "C:\\ELK-Stack\\logstash\\lib\\bootstrap\\environment.rb:67:in`'"]}  
[2018-05-14T09:31:33,196][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [May 14, 2018, 12:12pm UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664/4 "2018-05-14T12:12:47Z")

</div>

What do you have in you logstash.yml and in your pipeline.yml files?

Please post the content here...

---

<div class="post-metadata">

**Author:** ![TheOnlyOne](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theonlyone/32/31400_2.png) [@TheOnlyOne](https://discuss.elastic.co/u/TheOnlyOne)\
**Post date:** [May 14, 2018, 2:22pm UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664/5 "2018-05-14T14:22:19Z")

</div>

Now it works. it was a strange issue with java version 🙂

can you explain me how i can read at example the appache log and syslog at the same conf file?  
or do I need a separate config file for each file type?

thansk

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [May 14, 2018, 3:55pm UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664/6 "2018-05-14T15:55:29Z")

</div>

I would just google abit, thats what I did and found a ton of information. Give them a fish and he can eat, teach him how to fish and they can provide for them selfs 🙂

---

<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 11, 2018, 4:03pm UTC](https://discuss.elastic.co/t/error-when-i-will-start-logstash/131664/7 "2018-06-11T16:03:12Z")

</div>

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