# Beats automaticaly create empty indices

**URL:** <https://discuss.elastic.co/t/beats-automaticaly-create-empty-indices/296348>\
**Category:** Beats\
**Tags:** auditbeat, metricbeat, filebeat, winlogbeat\
**Created:** [February 4, 2022, 10:54pm UTC](https://discuss.elastic.co/t/beats-automaticaly-create-empty-indices/296348 "2022-02-04T22:54:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pysel](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Pysel](https://discuss.elastic.co/u/Pysel)\
**Post date:** [February 4, 2022, 10:54pm UTC](https://discuss.elastic.co/t/beats-automaticaly-create-empty-indices/296348/1 "2022-02-04T22:54:21Z")

</div>

Hello, is there a config to disable the Beats automaticaly creating indices for their version ? To give a better explanation, I have some beats writing to custom indices, we are all fine there but those beats still create indices with their default name which are empty.

I'm trying to manage my cluster to have as few shards as possible therefore I want to find a way to disable the auto creation of those empty indices which still increase my total shards number.

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:** [February 7, 2022, 1:29pm UTC](https://discuss.elastic.co/t/beats-automaticaly-create-empty-indices/296348/2 "2022-02-07T13:29:26Z")

</div>

Delete the index template Filebeat has loaded. Then set `setup.template.enabled` to `false` to disable reloading the index template.

---

<div class="post-metadata">

**Author:** ![Pysel](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@Pysel](https://discuss.elastic.co/u/Pysel)\
**Post date:** [February 9, 2022, 11:52am UTC](https://discuss.elastic.co/t/beats-automaticaly-create-empty-indices/296348/3 "2022-02-09T11:52:40Z")

</div>

Okay i'll do it thank you.

---

<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:** [March 9, 2022, 1:52pm UTC](https://discuss.elastic.co/t/beats-automaticaly-create-empty-indices/296348/4 "2022-03-09T13:52:52Z")

</div>

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