# In which order are config loaded?

**URL:** <https://discuss.elastic.co/t/in-which-order-are-config-loaded/281014>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 11, 2021, 8:26am UTC](https://discuss.elastic.co/t/in-which-order-are-config-loaded/281014 "2021-08-11T08:26:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![colttt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/colttt/32/92047_2.png) [@colttt](https://discuss.elastic.co/u/colttt)\
**Post date:** [August 11, 2021, 8:26am UTC](https://discuss.elastic.co/t/in-which-order-are-config-loaded/281014/1 "2021-08-11T08:26:14Z")

</div>

Hi, so far as I can see, there is a path.config which pont to /etc/filebeat (on debian systems). when I put a config file in this dir, lets say custom\_conf.yml. will it be load after the filebeat.yml and overwrite the settings (in fileabeat.yml)?

---

<div class="post-metadata">

**Author:** ![colttt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/colttt/32/92047_2.png) [@colttt](https://discuss.elastic.co/u/colttt)\
**Post date:** [August 18, 2021, 7:43am UTC](https://discuss.elastic.co/t/in-which-order-are-config-loaded/281014/2 "2021-08-18T07:43:25Z")

</div>

it looks like that the --path.config is useless maybe I create an report for this

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [August 23, 2021, 9:51am UTC](https://discuss.elastic.co/t/in-which-order-are-config-loaded/281014/3 "2021-08-23T09:51:38Z")

</div>

Question answered in a Github issue: [useless option path.config · Issue #27458 · elastic/beats · GitHub](https://github.com/elastic/beats/issues/27458)

---

<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 20, 2021, 11:52am UTC](https://discuss.elastic.co/t/in-which-order-are-config-loaded/281014/4 "2021-09-20T11:52:30Z")

</div>

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