# Multiple inputs for Filebeat

**URL:** <https://discuss.elastic.co/t/multiple-inputs-for-filebeat/247519>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 4, 2020, 10:27am UTC](https://discuss.elastic.co/t/multiple-inputs-for-filebeat/247519 "2020-09-04T10:27:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 7, 2020, 9:44pm UTC](https://discuss.elastic.co/t/multiple-inputs-for-filebeat/247519/2 "2020-09-07T21:44:21Z")

</div>

Welcome to our community! 😃

> [@Sid](#):
>
> How to enable filebeat modules for apache and mysql available in modules.d right from the filebeat.yml config file with the log paths specified?

When you enable the modules, they are automatically loaded. You don't need to configure anything extra in the `filebeat.yml` file.

> [@Sid](#):
>
> Is it possible in Filebeat to have multiple log sources as inputs and indexed into different Elasticsearch indices?

Yes. You can use a process similar to this one from APM [Storing APM data in custom/specific indices](https://discuss.elastic.co/t/storing-apm-data-in-custom-specific-indices/246381)

---

_[View the full topic](https://discuss.elastic.co/t/multiple-inputs-for-filebeat/247519)._
