# Logstash is not loading the filter conf files

**URL:** <https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [July 17, 2020, 5:40pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699 "2020-07-17T17:40:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kittu9999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kittu9999/32/72350_2.png) [@kittu9999](https://discuss.elastic.co/u/kittu9999)\
**Post date:** [July 17, 2020, 5:40pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/1 "2020-07-17T17:40:56Z")

</div>

HI Team,

we have upgrade our ELK stack from V5.0.1 to V6.8.1. Basically we moved to docker containers. we are having an issue with new logstash and the necessary fields are not showing in kibana.

we have the same conf files from old logstash (version 5.0.1) to new logstash (6.8.1 version), after that fields are not creating. so i have enabled the trace and found the conf files are skipping. Can you please help me here?

```auto
[2020-07-17T16:29:43,836][DEBUG][logstash.config.source.local.configpathloader] Skipping the following files while reading config since they don't match the specified glob pattern {:files=>["/etc/logstash/conf/test.conf", "/etc/logstash/conf/test1.conf", "/etc/logstash/conf/test2.conf", "/etc/logstash/conf/test3.conf"]} 

```

---

<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:** [July 17, 2020, 5:44pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/2 "2020-07-17T17:44:55Z")

</div>

Are you using pipelines.yml? If so, what does it look like? If not, what is path.config set to? (The debug messages should include it.)

---

<div class="post-metadata">

**Author:** ![kittu9999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kittu9999/32/72350_2.png) [@kittu9999](https://discuss.elastic.co/u/kittu9999)\
**Post date:** [July 17, 2020, 5:47pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/3 "2020-07-17T17:47:55Z")

</div>

i have set path.config as mentioned below

path.config: /etc/logstash/conf

---

<div class="post-metadata">

**Author:** ![kittu9999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kittu9999/32/72350_2.png) [@kittu9999](https://discuss.elastic.co/u/kittu9999)\
**Post date:** [July 17, 2020, 7:11pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/6 "2020-07-17T19:11:06Z")

</div>

Here is DEBUG logs

> <https://gist.github.com/kn42447/2a0828babb56aa3e4ec27c9fa81c0eee>

---

<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:** [July 17, 2020, 7:35pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/7 "2020-07-17T19:35:28Z")

</div>

> [@kittu9999](#):
>
> i have set path.config as mentioned below
> 
> path.config: /etc/logstash/conf

Not so. The debug logs show

```
[logstash.runner] *path.config: "/etc/logstash/conf/logstash.conf"

```

So it looks through the /etc/logstash/conf directory and tells you it is ignoring everything except logstash.conf

---

<div class="post-metadata">

**Author:** ![kittu9999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kittu9999/32/72350_2.png) [@kittu9999](https://discuss.elastic.co/u/kittu9999)\
**Post date:** [July 17, 2020, 7:37pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/8 "2020-07-17T19:37:53Z")

</div>

Yeah, correct. is there any other i can fix this issue?

---

<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:** [July 17, 2020, 7:40pm UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/9 "2020-07-17T19:40:12Z")

</div>

Change the setting of path.config?

---

<div class="post-metadata">

**Author:** ![kittu9999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kittu9999/32/72350_2.png) [@kittu9999](https://discuss.elastic.co/u/kittu9999)\
**Post date:** [August 7, 2020, 3:43am UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/10 "2020-08-07T03:43:55Z")

</div>

i have included our filter configuration in /etc/logstash/conf/logstash.conf, and my issue is resolved. 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:** [September 4, 2020, 3:44am UTC](https://discuss.elastic.co/t/logstash-is-not-loading-the-filter-conf-files/241699/11 "2020-09-04T03:44:09Z")

</div>

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