# Multiple pipeline

**URL:** <https://discuss.elastic.co/t/multiple-pipeline/133451>\
**Category:** Logstash\
**Created:** [May 28, 2018, 4:54am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451 "2018-05-28T04:54:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saketh\_Chandra\_Kolis](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Saketh\_Chandra\_Kolis](https://discuss.elastic.co/u/Saketh_Chandra_Kolis)\
**Post date:** [May 28, 2018, 4:54am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/1 "2018-05-28T04:54:50Z")

</div>

I am using a windows operating system.Where should i store my pipeline.yml file.i placed it in the config folder but i get an error.  
This is the error i am getting:

C:\logstash-5.4.1\>bin\logstash  
Sending Logstash's logs to C:/logstash-5.4.1/logs which is now configured via log4j2.properties  
ERROR: No configuration file was specified. Perhaps you forgot to provide the '-f yourlogstash.conf' flag?  
usage:  
bin/logstash -f CONFIG\_PATH [-t] [-r] [] [-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

---

<div class="post-metadata">

**Author:** ![wanglifeng](https://avatars.discourse-cdn.com/v4/letter/w/7ba0ec/32.png) [@wanglifeng](https://discuss.elastic.co/u/wanglifeng)\
**Post date:** [May 28, 2018, 5:07am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/2 "2018-05-28T05:07:45Z")

</div>

did you uncomment content in pipeline.yml file?

---

<div class="post-metadata">

**Author:** ![Saketh\_Chandra\_Kolis](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Saketh\_Chandra\_Kolis](https://discuss.elastic.co/u/Saketh_Chandra_Kolis)\
**Post date:** [May 28, 2018, 5:20am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/3 "2018-05-28T05:20:05Z")

</div>

hi,  
yes

---

<div class="post-metadata">

**Author:** ![vicennt](https://avatars.discourse-cdn.com/v4/letter/v/9de053/32.png) [@vicennt](https://discuss.elastic.co/u/vicennt)\
**Post date:** [May 28, 2018, 8:19am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/4 "2018-05-28T08:19:46Z")

</div>

Add the path settings flag:

```
bin/logstash --path.settings="path/to/your/config/directory"
```

---

<div class="post-metadata">

**Author:** ![Saketh\_Chandra\_Kolis](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Saketh\_Chandra\_Kolis](https://discuss.elastic.co/u/Saketh_Chandra_Kolis)\
**Post date:** [May 29, 2018, 5:23am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/5 "2018-05-29T05:23:23Z")

</div>

hi Vicent,  
I tried this but i am getting this error:

C:\logstash-5.4.1\>bin\logstash --path.settings="C:\logstash-5.4.1\config\logstash.yml"  
WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults  
An unexpected error occurred! :error =\> bad URI(is not URI?): file:///C:\logstash-5.4.1\config\logstash.yml/log4j2.properties, :backtrace =\> ["C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:176:in `split'", "C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:210:in`parse'", "C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:747:in `parse'", "C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:994:in`URI'", "C:/logstash-5.4.1/logstash-core/lib/logstash/logging/logger.rb:76:in `initialize'", "org/jruby/ext/thread/Mutex.java:149:in`synchronize'", "C:/logstash-5.4.1/logstash-core/lib/logstash/logging/logger.rb:74:in `initialize'", "C:/logstash-5.4.1/logstash-core/lib/logstash/runner.rb:205:in`execute'", "C:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "C:/logstash-5.4.1/logstash-core/lib/logstash/runner.rb:185:in`run'", "C:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "C:\\logstash-5.4.1\\lib\\bootstrap\\environment.rb:71:in`(root)'"]

---

<div class="post-metadata">

**Author:** ![Saketh\_Chandra\_Kolis](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Saketh\_Chandra\_Kolis](https://discuss.elastic.co/u/Saketh_Chandra_Kolis)\
**Post date:** [May 29, 2018, 5:28am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/6 "2018-05-29T05:28:57Z")

</div>

when i give the path only to the config directory this is what happens:

C:\logstash-5.4.1\>bin\logstash --path.settings="C:\logstash-5.4.1\config"  
An unexpected error occurred! :error =\> bad URI(is not URI?): file:///C:\logstash-5.4.1\config/log4j2.properties, :backtrace =\> ["C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:176:in `split'", "C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:210:in`parse'", "C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:747:in `parse'", "C:/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:994:in`URI'", "C:/logstash-5.4.1/logstash-core/lib/logstash/logging/logger.rb:76:in `initialize'", "org/jruby/ext/thread/Mutex.java:149:in`synchronize'", "C:/logstash-5.4.1/logstash-core/lib/logstash/logging/logger.rb:74:in `initialize'", "C:/logstash-5.4.1/logstash-core/lib/logstash/runner.rb:205:in`execute'", "C:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "C:/logstash-5.4.1/logstash-core/lib/logstash/runner.rb:185:in`run'", "C:/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "C:\\logstash-5.4.1\\lib\\bootstrap\\environment.rb:71:in`(root)'"]

---

<div class="post-metadata">

**Author:** ![Saketh\_Chandra\_Kolis](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Saketh\_Chandra\_Kolis](https://discuss.elastic.co/u/Saketh_Chandra_Kolis)\
**Post date:** [May 29, 2018, 5:35am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/7 "2018-05-29T05:35:13Z")

</div>

do i need to uncomment the logstash.yml also ?

---

<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 26, 2018, 5:35am UTC](https://discuss.elastic.co/t/multiple-pipeline/133451/8 "2018-06-26T05:35:16Z")

</div>

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