# How to specify names of different files in metricbeat.config.modules.path config option in metricbeat

**URL:** https://discuss.elastic.co/t/how-to-specify-names-of-different-files-in-metricbeat-config-modules-path-config-option-in-metricbeat/265224
**Category:** Beats
**Tags:** metricbeat
**Created:** [February 23, 2021, 4:12pm UTC](https://discuss.elastic.co/t/how-to-specify-names-of-different-files-in-metricbeat-config-modules-path-config-option-in-metricbeat/265224 "2021-02-23T16:12:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Usman18](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@Usman18](https://discuss.elastic.co/u/Usman18)
#### Post date: [February 23, 2021, 4:12pm UTC](https://discuss.elastic.co/t/how-to-specify-names-of-different-files-in-metricbeat-config-modules-path-config-option-in-metricbeat/265224/1 "2021-02-23T16:12:59Z")

</div>

I want to specify different names of files separately in metricbeat.config.modules.path configuration. Actually, I have some yml files in a folders for each module but I want to reload only yml files of few modules. How can I specify the name of those yml files for only those modules separately in metricbeat.config.modules.path configuration that I want to reload dynamically. Can anyone help me in this regard ? Thanks

 ![Screenshot 2021-02-23 at 17.11.51](https://us1.discourse-cdn.com/elastic/original/3X/3/c/3c75b47e10957228ee4835c9968c915577c23f4a.png)

---

<div class="post-metadata">

### Author: ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)
#### Post date: [February 24, 2021, 4:59am UTC](https://discuss.elastic.co/t/how-to-specify-names-of-different-files-in-metricbeat-config-modules-path-config-option-in-metricbeat/265224/2 "2021-02-24T04:59:47Z")

</div>

Hello! This is a very interesting case. Is running multiple Metricbeats an option for you?

---

<div class="post-metadata">

### Author: ![Usman18](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@Usman18](https://discuss.elastic.co/u/Usman18)
#### Post date: [February 24, 2021, 9:48am UTC](https://discuss.elastic.co/t/how-to-specify-names-of-different-files-in-metricbeat-config-modules-path-config-option-in-metricbeat/265224/3 "2021-02-24T09:48:13Z")

</div>

Hello No I do not want to run multiple Metricbeats. I just want to select only few configuration files for specific modules that I want to reload dynamically. Is there any way to achieve my goal.

---

<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: [March 24, 2021, 9:49am UTC](https://discuss.elastic.co/t/how-to-specify-names-of-different-files-in-metricbeat-config-modules-path-config-option-in-metricbeat/265224/4 "2021-03-24T09:49:13Z")

</div>

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