# Filebeat.yml inputs vs module

**URL:** <https://discuss.elastic.co/t/filebeat-yml-inputs-vs-module/249768>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 24, 2020, 8:24am UTC](https://discuss.elastic.co/t/filebeat-yml-inputs-vs-module/249768 "2020-09-24T08:24:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kosodrom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kosodrom/32/99278_2.png) [@Kosodrom](https://discuss.elastic.co/u/Kosodrom)\
**Post date:** [September 24, 2020, 8:24am UTC](https://discuss.elastic.co/t/filebeat-yml-inputs-vs-module/249768/1 "2020-09-24T08:24:45Z")

</div>

Hi,

for sending elasticsearch logs to elasticsearch i am using filebeat with enabled module "elasticsearch".

As far as I understod while using a module I do not need to configure the paths in the inputs inside filebeat.yml. But this is not possible. I cannot remove this part from the filebeat.yml.

Do I need to duplicate the settings now or how can I achive having the log paths configuration just in the module file?

THanks

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [September 25, 2020, 2:31pm UTC](https://discuss.elastic.co/t/filebeat-yml-inputs-vs-module/249768/2 "2020-09-25T14:31:09Z")

</div>

Could you please share your configuration formatted using `</>` and debug logs?

---

<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:** [October 23, 2020, 4:31pm UTC](https://discuss.elastic.co/t/filebeat-yml-inputs-vs-module/249768/3 "2020-10-23T16:31:19Z")

</div>

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