# Move filebeat.yml file to another place

**URL:** <https://discuss.elastic.co/t/move-filebeat-yml-file-to-another-place/133568>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 28, 2018, 3:54pm UTC](https://discuss.elastic.co/t/move-filebeat-yml-file-to-another-place/133568 "2018-05-28T15:54:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxknvlk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lxknvlk/32/31674_2.png) [@lxknvlk](https://discuss.elastic.co/u/lxknvlk)\
**Post date:** [May 28, 2018, 3:54pm UTC](https://discuss.elastic.co/t/move-filebeat-yml-file-to-another-place/133568/1 "2018-05-28T15:54:13Z")

</div>

Hi!

How can i move the "filebeat.yml" with all the settings file to another place?

I want to put in on an efs drive, so that configuration is loaded from there. Otherwise i need to recreate the launch configuration for my server each time i do any changes there.

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [May 28, 2018, 4:19pm UTC](https://discuss.elastic.co/t/move-filebeat-yml-file-to-another-place/133568/2 "2018-05-28T16:19:36Z")

</div>

@lxknvlk Yes you can change the location configuration, you have to use the `-c` [flag](https://www.elastic.co/guide/en/beats/filebeat/current/command-line-options.html#global-flags) and give it an absolute path to the configuration. You will need to edit your startup scripts.

---

<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:** [June 25, 2018, 4:19pm UTC](https://discuss.elastic.co/t/move-filebeat-yml-file-to-another-place/133568/3 "2018-06-25T16:19:36Z")

</div>

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