# "No configuration found in the configured sources": Error when working through LogStash tutorial

**URL:** <https://discuss.elastic.co/t/no-configuration-found-in-the-configured-sources-error-when-working-through-logstash-tutorial/173309>\
**Category:** Logstash\
**Created:** [March 21, 2019, 1:02pm UTC](https://discuss.elastic.co/t/no-configuration-found-in-the-configured-sources-error-when-working-through-logstash-tutorial/173309 "2019-03-21T13:02:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miao](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Miao](https://discuss.elastic.co/u/Miao)\
**Post date:** [March 21, 2019, 1:02pm UTC](https://discuss.elastic.co/t/no-configuration-found-in-the-configured-sources-error-when-working-through-logstash-tutorial/173309/1 "2019-03-21T13:02:24Z")

</div>

I downloaded **LogStash 6.6.2** today and I am currently going through the tutorial [here](https://www.elastic.co/guide/en/logstash/current/advanced-pipeline.html).

On my Windows 10 machine, I followed the instructions [here](https://stackoverflow.com/a/41753834/3559686) to install/configure/run Filebeat.

**I followed every single step in the tutorial** , up to and including executing this instruction:

> To verify your configuration, run the following command:  
> **bin/logstash -f first-pipeline.conf --config.test\_and\_exit**

This was the output I saw:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/7/6/765beca75e04f02765bd5c6d08ad9443b1366b1e.png)

How can I fix the error **"No configuration found in the configuration sources"**? I assume that it is due to the fact that there are "No config files found in path" (where the path refers to **C:\logstash-6.6.2\first-pipeline.conf** , whose contents are exactly the same as specified in the tutorial).

What should I do to move on with the tutorial?

---

<div class="post-metadata">

**Author:** ![kharvey](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@kharvey](https://discuss.elastic.co/u/kharvey)\
**Post date:** [March 21, 2019, 3:48pm UTC](https://discuss.elastic.co/t/no-configuration-found-in-the-configured-sources-error-when-working-through-logstash-tutorial/173309/2 "2019-03-21T15:48:09Z")

</div>

I haven't setup logstash on Windows before so I don't know what all of the paths are.

But you need to find where your pipelines.yml file is located.  
Once you find that, you will start logstash with something like:

```auto
bin/logstash -f first-pipeline.conf --path.settings=C:\some\folder\
```

Where C:\some\folder is the folder that has your pipelines.yml

That folder will contain the rest of your configuration files, such as your jvm.options and conf.d stuff.

---

<div class="post-metadata">

**Author:** ![Miao](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Miao](https://discuss.elastic.co/u/Miao)\
**Post date:** [March 25, 2019, 9:25am UTC](https://discuss.elastic.co/t/no-configuration-found-in-the-configured-sources-error-when-working-through-logstash-tutorial/173309/5 "2019-03-25T09:25:23Z")

</div>

Hello Ken,

Thanks for your reply. I ran the command as you suggested, but unfortunately still cannot get it to work.

This is what I saw:

```
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
Could not find log4j2 configuration at path /C:/logstash-6.6.2/config/pipelines.yml/log4j2.properties. Using default config which logs errors to the console
[WARN] 2019-03-25 10:23:43.515 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[INFO] 2019-03-25 10:23:43.525 [LogStash::Runner] runner - Starting Logstash {"logstash.version"=>"6.6.2"}
[INFO] 2019-03-25 10:23:43.851 [Ruby-0-Thread-1: C:\logstash-6.6.2\lib\bootstrap\environment.rb:6] configpathloader - No config files found in path {:path=>"C:/logstash-6.6.2/bin/first-pipeline.conf"}
[ERROR] 2019-03-25 10:23:43.856 [Ruby-0-Thread-1: C:\logstash-6.6.2\lib\bootstrap\environment.rb:6] sourceloader - No configuration found in the configured sources.
[INFO] 2019-03-25 10:23:44.041 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}
```

---

<div class="post-metadata">

**Author:** ![kharvey](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@kharvey](https://discuss.elastic.co/u/kharvey)\
**Post date:** [April 1, 2019, 4:02pm UTC](https://discuss.elastic.co/t/no-configuration-found-in-the-configured-sources-error-when-working-through-logstash-tutorial/173309/6 "2019-04-01T16:02:06Z")

</div>

What command did you run?  
Where is your pipelines.yml located at?

---

<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:** [April 29, 2019, 4:02pm UTC](https://discuss.elastic.co/t/no-configuration-found-in-the-configured-sources-error-when-working-through-logstash-tutorial/173309/7 "2019-04-29T16:02:14Z")

</div>

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