# Setup index template only for the fields of the enabled modules

**URL:** https://discuss.elastic.co/t/setup-index-template-only-for-the-fields-of-the-enabled-modules/174565
**Category:** Beats
**Created:** [March 29, 2019, 4:01pm UTC](https://discuss.elastic.co/t/setup-index-template-only-for-the-fields-of-the-enabled-modules/174565 "2019-03-29T16:01:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kostja79](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@kostja79](https://discuss.elastic.co/u/kostja79)
#### Post date: [March 29, 2019, 4:01pm UTC](https://discuss.elastic.co/t/setup-index-template-only-for-the-fields-of-the-enabled-modules/174565/1 "2019-03-29T16:01:05Z")

</div>

Hi,

the setup of the index template for the Beats generates a lot of fields (e.g. 1860 for Metricbeat).  
Many fields are designed only for specific modules that I am not planning to use, so I'd like to avoid to load them.  
Is it possible to define a template only with the fields used by the enabled modules?

Thanks

---

<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, 2019, 6:15pm UTC](https://discuss.elastic.co/t/setup-index-template-only-for-the-fields-of-the-enabled-modules/174565/2 "2019-04-26T18:15:23Z")

</div>

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