# Replica count 3 for .security-7

**URL:** https://discuss.elastic.co/t/replica-count-3-for-security-7/341274
**Category:** Elasticsearch
**Created:** [August 21, 2023, 3:27pm UTC](https://discuss.elastic.co/t/replica-count-3-for-security-7/341274 "2023-08-21T15:27:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![data\_smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_smith/32/124122_2.png) [@data\_smith](https://discuss.elastic.co/u/data_smith)
#### Post date: [August 21, 2023, 3:27pm UTC](https://discuss.elastic.co/t/replica-count-3-for-security-7/341274/1 "2023-08-21T15:27:48Z")

</div>

I'm trying to set the replica count for .security-7 to 3 so that if 2 nodes go down it's still ok. But it seems superuser can't update it. What's the best path forward for this situation. The docs don't really answer this.

---

<div class="post-metadata">

### Author: ![data\_smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_smith/32/124122_2.png) [@data\_smith](https://discuss.elastic.co/u/data_smith)
#### Post date: [August 21, 2023, 7:27pm UTC](https://discuss.elastic.co/t/replica-count-3-for-security-7/341274/2 "2023-08-21T19:27:06Z")

</div>

I found solution. Create role with this setting -\> allow\_restricted\_indices: true

---

<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: [September 18, 2023, 7:27pm UTC](https://discuss.elastic.co/t/replica-count-3-for-security-7/341274/3 "2023-09-18T19:27:49Z")

</div>

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