# Multiple configurations to be enabled for filebeat

**URL:** <https://discuss.elastic.co/t/multiple-configurations-to-be-enabled-for-filebeat/321303>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 15, 2022, 12:00pm UTC](https://discuss.elastic.co/t/multiple-configurations-to-be-enabled-for-filebeat/321303 "2022-12-15T12:00:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejal\_kubde](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tejal_kubde/32/99611_2.png) [@tejal\_kubde](https://discuss.elastic.co/u/tejal_kubde)\
**Post date:** [December 15, 2022, 12:00pm UTC](https://discuss.elastic.co/t/multiple-configurations-to-be-enabled-for-filebeat/321303/1 "2022-12-15T12:00:55Z")

</div>

Hi, I have a multiple types of log files which requires different configurations such as includes for one type of file and exclude for other file type.

I generally used to do my configuration in filebeat.yml, which requires filebeat to be restarted always, whenever I make changes in configuration.

Hence, is there an alternative method which I can use?

---

<div class="post-metadata">

**Author:** ![dadiasish](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadiasish/32/114221_2.png) [@dadiasish](https://discuss.elastic.co/u/dadiasish)\
**Post date:** [December 15, 2022, 12:02pm UTC](https://discuss.elastic.co/t/multiple-configurations-to-be-enabled-for-filebeat/321303/2 "2022-12-15T12:02:10Z")

</div>

Welcome to the Elastic Community!

If you want multiple configurations to be enabled in Filebeat, one thing you can do is as below which I generally follow

Create a folder config in Filebeat path. Inside the path, provide your separate input.yml files so that it can automatically pick each of your configurations.

```auto
filebeat.config:
  inputs:
      enabled: true
      path: C:\Program Files\Filebeat\config\*.yml
      reload.enabled: true
      reload.period: 10s

```

This reload setting loads all the changes done in the configuration files automatically.

---

<div class="post-metadata">

**Author:** ![tejal\_kubde](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tejal_kubde/32/99611_2.png) [@tejal\_kubde](https://discuss.elastic.co/u/tejal_kubde)\
**Post date:** [December 16, 2022, 2:36pm UTC](https://discuss.elastic.co/t/multiple-configurations-to-be-enabled-for-filebeat/321303/3 "2022-12-16T14:36:42Z")

</div>

Thanks for the solution. I have tried it and works absolutely right 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:** [January 13, 2023, 4:36pm UTC](https://discuss.elastic.co/t/multiple-configurations-to-be-enabled-for-filebeat/321303/4 "2023-01-13T16:36:49Z")

</div>

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