# Logstash pipeline

**URL:** <https://discuss.elastic.co/t/logstash-pipeline/250799>\
**Category:** Logstash\
**Created:** [October 2, 2020, 2:14pm UTC](https://discuss.elastic.co/t/logstash-pipeline/250799 "2020-10-02T14:14:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KRISHNAPRASAD\_HG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishnaprasad_hg/32/76381_2.png) [@KRISHNAPRASAD\_HG](https://discuss.elastic.co/u/KRISHNAPRASAD_HG)\
**Post date:** [October 2, 2020, 2:14pm UTC](https://discuss.elastic.co/t/logstash-pipeline/250799/1 "2020-10-02T14:14:19Z")

</div>

## Below is my pipelines.yml file but the configs not picked by logstash! Anything wrong here?

- pipeline.id: step1  
pipeline.workers: 1  
path.config: "D:/logstash-7.8.1/config/step1.conf"
- pipeline.id: step2  
pipeline.workers: 1  
path.config: "D:/logstash-7.8.1/config/step2.conf"

* * *

Logstash output:

[2020-10-01T16:07:50,482][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"7.8.1", "jruby.version"=\>"jruby 9.2.11.1 (2.5.7) 2020-03-25 b1f55b1a40 OpenJDK 64-Bit Server VM 11.0.7+10-LTS on 11.0.7+10-LTS +indy +jit [mswin32-x86\_64]"}  
**[2020-10-01T16:07:56,792][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.**  
[2020-10-01T16:07:59,368][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2020-10-01T16:08:02,762][INFO][logstash.runner] Logstash shut down.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 2, 2020, 2:26pm UTC](https://discuss.elastic.co/t/logstash-pipeline/250799/2 "2020-10-02T14:26:58Z")

</div>

Try running with --log.level debug --config.debug and see what it is trying to load.

---

<div class="post-metadata">

**Author:** ![KRISHNAPRASAD\_HG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishnaprasad_hg/32/76381_2.png) [@KRISHNAPRASAD\_HG](https://discuss.elastic.co/u/KRISHNAPRASAD_HG)\
**Post date:** [October 4, 2020, 5:31am UTC](https://discuss.elastic.co/t/logstash-pipeline/250799/3 "2020-10-04T05:31:29Z")

</div>

Hi Badger...

here is the error message..

[2020-10-04T10:57:56,841][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 1, column 1 (byte 1)", :backtrace=\>["D:/logstash-7.8.1/logstash-core/lib/logstash/compiler.rb:58:in `compile_imperative'", "D:/logstash-7.8.1/logstash-core/lib/logstash/compiler.rb:66:in `compile\_graph'", "D:/logstash-7.8.1/logstash-core/lib/logstash/compiler.rb:28:in `block in compile_sources'", "org/jruby/RubyArray.java:2577:in `map'", "D:/logstash-7.8.1/logstash-core/lib/logstash/compiler.rb:27:in `compile_sources'", "org/logstash/execution/AbstractPipelineExt.java:181:in `initialize'", "org/logstash/execution/JavaBasePipelineExt.java:67:in `initialize'", "D:/logstash-7.8.1/logstash-core/lib/logstash/java_pipeline.rb:44:in `initialize'", "D:/logstash-7.8.1/logstash-core/lib/logstash/pipeline\_action/create.rb:52:in `execute'", "D:/logstash-7.8.1/logstash-core/lib/logstash/agent.rb:356:in `block in converge\_state'"]}

---

<div class="post-metadata">

**Author:** ![kavierkoo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kavierkoo/32/86555_2.png) [@kavierkoo](https://discuss.elastic.co/u/kavierkoo)\
**Post date:** [October 4, 2020, 10:32am UTC](https://discuss.elastic.co/t/logstash-pipeline/250799/4 "2020-10-04T10:32:05Z")

</div>

Hi, please format your codes and errors under preformatted text `</>` or backticks `(```)` as it is hard to read otherwise.

> [@KRISHNAPRASAD\_HG](#):
>
> message=\>"Expected one of [\t\r\n], "#", "input", "filter", "output" at line 1

This error means that the logstash could not parse the configuration.  
Usually this indicate that there's either Bad or missing syntax / character / whitespaces / separators in your config files.

To have a better understanding for your issue, would you mind to share your logstash.yml and config files?

---

<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 1, 2020, 10:32am UTC](https://discuss.elastic.co/t/logstash-pipeline/250799/5 "2020-11-01T10:32:08Z")

</div>

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