# Enabling modules when resource does not exist

**URL:** <https://discuss.elastic.co/t/enabling-modules-when-resource-does-not-exist/126105>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 29, 2018, 2:32pm UTC](https://discuss.elastic.co/t/enabling-modules-when-resource-does-not-exist/126105 "2018-03-29T14:32:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zinefer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zinefer/32/29368_2.png) [@zinefer](https://discuss.elastic.co/u/zinefer)\
**Post date:** [March 29, 2018, 2:32pm UTC](https://discuss.elastic.co/t/enabling-modules-when-resource-does-not-exist/126105/1 "2018-03-29T14:32:11Z")

</div>

Is there any issue with, for example, enabling an nginx module on a machine with no nginx? Will the other modules/prospectors continue to work?

Thanks

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [March 29, 2018, 2:52pm UTC](https://discuss.elastic.co/t/enabling-modules-when-resource-does-not-exist/126105/2 "2018-03-29T14:52:28Z")

</div>

A module does configure a prospector to look for files in some location. Having configured a module/prospector no files can be found for, will not process any files. The module will try to scan for new files every now and so on, but besides this should not generate any work.

---

<div class="post-metadata">

**Author:** ![zinefer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zinefer/32/29368_2.png) [@zinefer](https://discuss.elastic.co/u/zinefer)\
**Post date:** [March 29, 2018, 3:14pm UTC](https://discuss.elastic.co/t/enabling-modules-when-resource-does-not-exist/126105/3 "2018-03-29T15:14:22Z")

</div>

Great. It sounds like a decent work around for me. I can enable the 3 modules I want for my entire network in the image and they with automatically start functioning when/if the service is installed.

---

<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:** [April 26, 2018, 3:14pm UTC](https://discuss.elastic.co/t/enabling-modules-when-resource-does-not-exist/126105/4 "2018-04-26T15:14:26Z")

</div>

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