# Unable to parse only one conf file present in conf.d

**URL:** <https://discuss.elastic.co/t/unable-to-parse-only-one-conf-file-present-in-conf-d/155143>\
**Category:** Logstash\
**Created:** [November 2, 2018, 10:05am UTC](https://discuss.elastic.co/t/unable-to-parse-only-one-conf-file-present-in-conf-d/155143 "2018-11-02T10:05:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nithani25](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nithani25/32/33457_2.png) [@Nithani25](https://discuss.elastic.co/u/Nithani25)\
**Post date:** [November 2, 2018, 10:05am UTC](https://discuss.elastic.co/t/unable-to-parse-only-one-conf-file-present-in-conf-d/155143/1 "2018-11-02T10:05:53Z")

</div>

HI Team,  
I have installed logstash rpm package on to my prodcution environment. I am able to start the service OK and was able to check the new conf file with bin/logstash --debug option  
'  
but starting it as a service, i find invalide configuration error for the only one conf file present in /etc/logstash/conf.d

```
[2018-11-02T03:02:11,234][FATAL][logstash.runner] The given configuration is invalid. Reason: Expected one of #, input, filter, output at line 5, column 1 (byte 221) after # This file is where you define your pipelines. You can define multiple.
# For more information on multiple pipelines, see the documentation:
# https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html
```

---

<div class="post-metadata">

**Author:** ![humalog](https://avatars.discourse-cdn.com/v4/letter/h/cc9497/32.png) [@humalog](https://discuss.elastic.co/u/humalog)\
**Post date:** [November 2, 2018, 11:03am UTC](https://discuss.elastic.co/t/unable-to-parse-only-one-conf-file-present-in-conf-d/155143/2 "2018-11-02T11:03:48Z")

</div>

There is something wrong with the syntax of your configuration file. If you send it here, one can help you maybe.

Ahhh and i guess, you did someting with your pipelines.yml file. Try to copy this file to another folder. It doesn't work for me in /etc/logstash/conf.d  
When i copy this file to /etc/logstash it works for me.

---

<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 30, 2018, 11:03am UTC](https://discuss.elastic.co/t/unable-to-parse-only-one-conf-file-present-in-conf-d/155143/3 "2018-11-30T11:03:58Z")

</div>

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