# Pipelines.yml keeps showing error in debug

**URL:** https://discuss.elastic.co/t/pipelines-yml-keeps-showing-error-in-debug/210389
**Category:** Logstash
**Created:** [December 3, 2019, 3:33pm UTC](https://discuss.elastic.co/t/pipelines-yml-keeps-showing-error-in-debug/210389 "2019-12-03T15:33:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Apollyon](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Apollyon](https://discuss.elastic.co/u/Apollyon)
#### Post date: [December 3, 2019, 3:33pm UTC](https://discuss.elastic.co/t/pipelines-yml-keeps-showing-error-in-debug/210389/1 "2019-12-03T15:33:59Z")

</div>

Hello,

After upgrading to 7.5.0, when trying to set Logstash up again, errors keep occurring relating to the "Failed to execute". Everything was working before the upgrade, but now it doesn't seem to like what is there... or maybe I am just being slow with this one.. likely!! 🙄 😑

So this is the error message that is being displayed when debugging -

```
[ERROR][logstash.agent] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [\\t\\r\\n], \"#\", \"input\", \"filter\", \"output\" at line 10, column 1 (byte 322)

```

Below is the pipelines.yml (The original one) -

```
    - pipeline.id: main
      path.config: "/path/to/logstash/conf.d/*.conf"
      pipeline.workers: 1
    - pipeline.id: tester-demo
      path.config: "/path/to/logstash/tester-dir/demotester.conf.d/*.conf"
      pipeline.workers: 1
    - pipeline.id: tester-live
      path.config: "/path/to/logstash/tester-dir/tester.conf.d/*.conf"
      pipeline.workers: 1
    - pipeline.id: tester-nonlive
      path.config: "/path/to/logstash/tester-dir/nontester.conf.d/*.conf"
      pipeline.workers: 1

```

Also below is a test with using the "config.string" element -

```
    - pipeline.id: main
      path.config: "/path/to/logstash/conf.d/*.conf"
      pipeline.workers: 1
    - pipeline.id: tester-demo
      path.config: "/path/to/logstash/tester-dir/demotester.conf.d/*.conf"
      pipeline.workers: 1
    - pipeline.id: tester-live
      path.config: "/path/to/logstash/tester-dir/tester.conf.d/*.conf"
      pipeline.workers: 1
    - pipeline.id: tester-nonlive
      path.config: "/path/to/logstash/tester-dir/nontester.conf.d/*.conf"
      pipeline.workers: 1
      pipeline.batch.size: 1
      config.string: "input { generator {} } filter { sleep { time => 1 } } output { stdout {} }"

```

Been having a look around and playing with the settings a little, with the adding of "pipeline.batch.size" and have tried with the "main" pipeline.id in the logstash.yml being commented out and when it was configured. But still with the same error.

Thank you in advance! 🙂

---

<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: [December 31, 2019, 3:34pm UTC](https://discuss.elastic.co/t/pipelines-yml-keeps-showing-error-in-debug/210389/2 "2019-12-31T15:34:00Z")

</div>

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