# Getting this error while installing Logstash in Windows

**URL:** <https://discuss.elastic.co/t/getting-this-error-while-installing-logstash-in-windows/151174>\
**Category:** Logstash\
**Created:** [October 5, 2018, 8:49am UTC](https://discuss.elastic.co/t/getting-this-error-while-installing-logstash-in-windows/151174 "2018-10-05T08:49:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tilak](https://avatars.discourse-cdn.com/v4/letter/t/c89c15/32.png) [@Tilak](https://discuss.elastic.co/u/Tilak)\
**Post date:** [October 5, 2018, 8:49am UTC](https://discuss.elastic.co/t/getting-this-error-while-installing-logstash-in-windows/151174/1 "2018-10-05T08:49:58Z")

</div>

**PS F:\ELK\logstash-6.2.4\logstash-6.2.4\bin\> .\logstash.bat -f F:\ELK\logstash-6.2.4\logstash-6.2.4\config\logstash-test.conf**

Sending Logstash's logs to F:/ELK/logstash-6.2.4/logstash-6.2.4/logs which is now configured via log4j2.properties  
[2018-10-05T14:14:43,930][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"fb\_apache", :directory=\>"F:/ELK/logstash-6.2.4/logstash-6.2.4/modules/fb\_apache/configuration"}  
[2018-10-05T14:14:43,950][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"F:/ELK/logstash-6.2.4/logstash-6.2.4/modules/netflow/configuration"}  
[2018-10-05T14:14:44,693][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
ERROR: Settings 'path.config' (-f) or 'config.string' (-e) can't be used in conjunction with (--modules) or the "modules:" block in the logstash.yml file.  
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-10-05T14:14:44,723][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

====================================================

**Logstash-plain.log file output**

[2018-10-05T14:16:59,841][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"F:/ELK/logstash-6.2.4/logstash-6.2.4/modules/netflow/configuration"}  
[2018-10-05T14:17:00,202][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2018-10-05T14:17:00,243][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

---

<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:** [November 2, 2018, 8:52am UTC](https://discuss.elastic.co/t/getting-this-error-while-installing-logstash-in-windows/151174/2 "2018-11-02T08:52:47Z")

</div>

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