# How to pipeline.yml - I'm stuck

**URL:** <https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254>\
**Category:** Logstash\
**Created:** [January 22, 2019, 2:40pm UTC](https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254 "2019-01-22T14:40:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)\
**Post date:** [January 22, 2019, 2:40pm UTC](https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254/1 "2019-01-22T14:40:55Z")

</div>

Hi There,

due to the original documentation does not help,  
I hope you could!

I have a logstash conf file.  
That works fine as Standalone.  
Now I have 3 files which I want to index

These 3 files are different, so each have its own conf file to transform in different ways.  
However! I like to Index all 3 via logstash pipeline.yml

```
- pipeline.id: ps
  pipeline.workers: 1
  pipeline.batch.size: 1
  path.config: "/Logstash/bin/_ps_logstash_1.conf"
- pipeline.id: so
  pipeline.workers: 1
  pipeline.batch.size: 1
  path.config: "/Logstash/bin/_so_logstash_1.conf"
- pipeline.id: va
  pipeline.workers: 1
  pipeline.batch.size: 1
  path.config: "/Logstash/bin/_va_logstash_1.conf"

```

....nothing more here, for first steps to understand how to.

I run logstash.bat (no -e or -f)

> C:\Logstash\bin\>logstash.bat  
> Sending Logstash logs to C:/Logstash/logs which is now configured via log4j2.properties  
> ERROR: Failed to read pipelines yaml file. Location: C:/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  
> [2019-01-22T15:34:47,566][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

Why? Because the file is there!  
I tried with \ and /

Thanks and Regards

---

<div class="post-metadata">

**Author:** ![danhermann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danhermann/32/33024_2.png) [@danhermann](https://discuss.elastic.co/u/danhermann)\
**Post date:** [January 22, 2019, 3:21pm UTC](https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254/2 "2019-01-22T15:21:23Z")

</div>

@Datakids, that's the error Logstash returns when it either cannot find the `pipelines.yml` file in the expected directory or does not have permissions to read the file. Verify that `C:/Logstash/config/pipelines.yml` exists and that the user account under which you're running Logstash has permissions to read that file.

---

<div class="post-metadata">

**Author:** ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)\
**Post date:** [January 22, 2019, 3:38pm UTC](https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254/3 "2019-01-22T15:38:57Z")

</div>

Hi,  
thanks for reply!  
Thats the common installed file I used in this path!  
I use my local pc! There is no restricted permisssions to nothing thats why I'm wondering!

---

<div class="post-metadata">

**Author:** ![danhermann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danhermann/32/33024_2.png) [@danhermann](https://discuss.elastic.co/u/danhermann)\
**Post date:** [January 22, 2019, 4:00pm UTC](https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254/4 "2019-01-22T16:00:06Z")

</div>

Logstash would return a different error if it found the `pipelines.yml` but was unable to successfully read it, so that's why I think it's a problem with a missing file or insufficient permissions. Offhand, I don't know what else to suggest besides possibly increasing the logging verbosity to see if any additional troubleshooting data is available in the debug logs.

---

<div class="post-metadata">

**Author:** ![Datakids](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datakids/32/39622_2.png) [@Datakids](https://discuss.elastic.co/u/Datakids)\
**Post date:** [January 23, 2019, 8:26am UTC](https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254/5 "2019-01-23T08:26:06Z")

</div>

I will try to check the settings.  
Thanks

---

<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:** [February 20, 2019, 8:26am UTC](https://discuss.elastic.co/t/how-to-pipeline-yml-im-stuck/165254/6 "2019-02-20T08:26:12Z")

</div>

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