# Internal Indexes replication settings best practices

**URL:** https://discuss.elastic.co/t/internal-indexes-replication-settings-best-practices/363115
**Category:** Elasticsearch
**Created:** [July 15, 2024, 3:22am UTC](https://discuss.elastic.co/t/internal-indexes-replication-settings-best-practices/363115 "2024-07-15T03:22:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mkkkksim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mkkkksim/32/136030_2.png) [@mkkkksim](https://discuss.elastic.co/u/mkkkksim)
#### Post date: [July 15, 2024, 3:22am UTC](https://discuss.elastic.co/t/internal-indexes-replication-settings-best-practices/363115/1 "2024-07-15T03:22:19Z")

</div>

Whats the best way to manage `number_of_replicas` index setting for indexes that are managed by Elasticsearch. Before we used legacy template that matches `*` and sets `number_of_replicas = 0`. But since 8.14 version Data Streams appeared and their settings not working with legacy templates.

The way I discovered how to handle `number_of_replicas` for data streams indexes is to create custom component template and manually assign it to specific index template.

I had issue with `.items-default` and `.lists-default` data streams indexes. With default `number_of_replicas` = 1
