# Logstash Service doesn't load .conf file

**URL:** <https://discuss.elastic.co/t/logstash-service-doesnt-load-conf-file/53434>\
**Category:** Logstash\
**Created:** [June 21, 2016, 7:06am UTC](https://discuss.elastic.co/t/logstash-service-doesnt-load-conf-file/53434 "2016-06-21T07:06:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_M](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@S\_M](https://discuss.elastic.co/u/S_M)\
**Post date:** [June 21, 2016, 7:06am UTC](https://discuss.elastic.co/t/logstash-service-doesnt-load-conf-file/53434/1 "2016-06-21T07:06:11Z")

</div>

Dear all,  
I have problem with my Logstash (I don't know it is really problem or not).

I have installed Logstash on my UbuntuServer with recommended manner described on Logstash official page (I use apt-get install to install Logstash). Now, when I use logstash -f PATH-TO-CONF-FILE, it works based on the my desired config file; but when I use "sudo service logstash start", it doesn't work based on the conf file in /etc/logstash/logstash.conf/MY\_CONF\_FILE.

how can I set up my logstash to start with my desired config file. Is it possible ?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 22, 2016, 2:03pm UTC](https://discuss.elastic.co/t/logstash-service-doesnt-load-conf-file/53434/2 "2016-06-22T14:03:35Z")

</div>

> it doesn't work based on the conf file in /etc/logstash/logstash.conf/MY\_CONF\_FILE.

Logstash expects configuration files to be stored in /etc/logstash/conf.d.

---

<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:** [July 6, 2017, 4:51am UTC](https://discuss.elastic.co/t/logstash-service-doesnt-load-conf-file/53434/3 "2017-07-06T04:51:09Z")

</div>


