# Possible ways to allow write on restricted indies in v8.x

**URL:** <https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508>\
**Category:** Elasticsearch\
**Tags:** reindex\
**Created:** [April 1, 2024, 1:10am UTC](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508 "2024-04-01T01:10:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahdi\_Moazami](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahdi_moazami/32/113304_2.png) [@Mahdi\_Moazami](https://discuss.elastic.co/u/Mahdi_Moazami)\
**Post date:** [April 1, 2024, 1:10am UTC](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508/1 "2024-04-01T01:10:39Z")

</div>

Hi there,  
I have migrated my data from cluster version 7.8 to new cluster version 8. now I want to transfer my pipelines from old cluster to new one. the problem is that in version 8 the `.logstash` index is restricted and any write or reindex attempts to it causes 403 error. is there any way to allow write to such restricted index like this in v8?

---

<div class="post-metadata">

**Author:** ![Faker](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@Faker](https://discuss.elastic.co/u/Faker)\
**Post date:** [April 1, 2024, 4:07am UTC](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508/2 "2024-04-01T04:07:28Z")

</div>

index name starts with . dot is system index  
how about using another name?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [April 1, 2024, 5:02am UTC](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508/3 "2024-04-01T05:02:57Z")

</div>

> [@Mahdi\_Moazami](#):
>
> is there any way to allow write to such restricted index like this in v8?

This is a breaking change.

You will need to create/change the role for your user and set `allow_restricted_indices` to `true` as mentioned in the [breaking changes](https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-8.0.html#breaking_80_index_setting_changes) documentation.

I would also suggest to not use custom indices starting with a dot as they are considered system indices, the access to them may be removed on a future version.

---

<div class="post-metadata">

**Author:** ![Mahdi\_Moazami](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahdi_moazami/32/113304_2.png) [@Mahdi\_Moazami](https://discuss.elastic.co/u/Mahdi_Moazami)\
**Post date:** [April 1, 2024, 6:18am UTC](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508/4 "2024-04-01T06:18:54Z")

</div>

Thanks Leandro. So I need a role to add this permission and use it on my user

---

<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 29, 2024, 6:19am UTC](https://discuss.elastic.co/t/possible-ways-to-allow-write-on-restricted-indies-in-v8-x/356508/5 "2024-04-29T06:19:09Z")

</div>

Closed on April 29, 2024, 6:19am UTC

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