# How to change replica for system indices

**URL:** https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415
**Category:** Elasticsearch
**Created:** [March 23, 2022, 7:46am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415 "2022-03-23T07:46:35Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [March 23, 2022, 7:46am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/1 "2022-03-23T07:46:35Z")

</div>

Hi all,  
I wanted to change the number of replicas for Elasticsearch system indices.  
I know that the forbit it but is there a way to override that to increase the number of indices or replicas for elastic system indices.

Thanks for your time.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [March 28, 2022, 12:01am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/2 "2022-03-28T00:01:32Z")

</div>

What version are you running?  
Most newer versions will use auto-expanding replicas (from 0 to 1).

---

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [March 28, 2022, 1:13am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/3 "2022-03-28T01:13:58Z")

</div>

i'am currently use version 8.1, so where can i find that auto-expanding replicas on elastic?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [March 28, 2022, 3:36am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/4 "2022-03-28T03:36:29Z")

</div>

It's part of the template for the index. Why do you want to change it?

---

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [March 28, 2022, 3:51am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/5 "2022-03-28T03:51:53Z")

</div>

I want to increase the number of replicas of the system indices to make sure that if the server that host the system indices die then i can still operate on elastic to fix the issue.  
Since there is only 1 replicas on the system indices so it is alittle scary for important indices to only have 1 replicas.

---

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [March 28, 2022, 3:52am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/6 "2022-03-28T03:52:22Z")

</div>

> [@warkolm](#):
>
> It's part of the template for the index

wait you mean i can change the index template for system indices?

---

<div class="post-metadata">

### Author: ![lusynda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lusynda/32/53557_2.png) [@lusynda](https://discuss.elastic.co/u/lusynda)
#### Post date: [March 28, 2022, 3:56am UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/7 "2022-03-28T03:56:08Z")

</div>

Oh but what i want is to change the current system indices number of replicas and not the template one.

---

<div class="post-metadata">

### Author: ![kursadk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kursadk/32/103670_2.png) [@kursadk](https://discuss.elastic.co/u/kursadk)
#### Post date: [March 29, 2022, 6:08pm UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/8 "2022-03-29T18:08:32Z")

</div>

I also want to change its replica count to 3. Although it is not recommended to modify system indices manually, I am afraid to have down time.

As I know, I can increase the replica count of each sistem indices along with all other indexes by using Dev Tools like

```auto
PUT /*/_settings
{
  "index" : {
    "number_of_replicas" : 3,  
    "auto_expand_replicas" : "0-3"
  }
}

```

But this is just for existing system indices, I think I need to create some index template for system indices to apply the same settings.

So can you help me

1. how I can do that
2. What are the system indices/ system indices template
3. What is the best practice to satisfy the resilience in terms of system indices

Best Regards,  
Kursad

---

<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, 2022, 6:09pm UTC](https://discuss.elastic.co/t/how-to-change-replica-for-system-indices/300415/9 "2022-04-26T18:09:27Z")

</div>

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