# Logstash is not picking config file under /etc/logstash/conf.d/ directory

**URL:** <https://discuss.elastic.co/t/logstash-is-not-picking-config-file-under-etc-logstash-conf-d-directory/98987>\
**Category:** Logstash\
**Created:** [August 31, 2017, 11:09am UTC](https://discuss.elastic.co/t/logstash-is-not-picking-config-file-under-etc-logstash-conf-d-directory/98987 "2017-08-31T11:09:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajesh](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@rajesh](https://discuss.elastic.co/u/rajesh)\
**Post date:** [August 31, 2017, 11:09am UTC](https://discuss.elastic.co/t/logstash-is-not-picking-config-file-under-etc-logstash-conf-d-directory/98987/1 "2017-08-31T11:09:28Z")

</div>

Hi..

I am running Logstash as a service on Redhat distribution with the command "sudo initctl start logstash" and when I checked the status, it says Logstash is running. But the problem is it's not using the config file under /etc/logstash/conf.d/ directory. My settings in logstash.yml are as below,

path.config: /etc/logstash/conf.d/  
path.level: debug  
path.logs: /var/log/logstash/

Even though path.logs(level:debug) in logstash.yml is set to /var/log/logstash/ , I don't see any logs written to the file.

Can someone please help me resolve the issue? Thanks in advance...

---

<div class="post-metadata">

**Author:** ![rajesh](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@rajesh](https://discuss.elastic.co/u/rajesh)\
**Post date:** [September 1, 2017, 2:44pm UTC](https://discuss.elastic.co/t/logstash-is-not-picking-config-file-under-etc-logstash-conf-d-directory/98987/2 "2017-09-01T14:44:15Z")

</div>

I got it solved by changing the owner to logstash.

---

<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 29, 2017, 2:44pm UTC](https://discuss.elastic.co/t/logstash-is-not-picking-config-file-under-etc-logstash-conf-d-directory/98987/3 "2017-09-29T14:44:16Z")

</div>

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