How to change .security-6 index to read-write

My ES nodes were out of space and ES decided to take all indices read-only. After i ve added space and altered all indices to read-write i was successfull. But i could not alter the .security-6 index to read-write. Can you please show me a way how to do it without disabling the security.

{
  "error": {
    "root_cause": [
      {
        "type": "security_exception",
        "reason": "action [indices:admin/settings/update] is unauthorized for user [admin]"
      }
    ],
    "type": "security_exception",
    "reason": "action [indices:admin/settings/update] is unauthorized for user [admin]"
  },
  "status": 403
}

I can not even delete it

{
  "error": {
    "root_cause": [
      {
        "type": "security_exception",
        "reason": "action [indices:admin/delete] is unauthorized for user [root]"
      }
    ],
    "type": "security_exception",
    "reason": "action [indices:admin/delete] is unauthorized for user [root]"
  },
  "status": 403
}

I ve changed the , file based users role to superuser and could altered the special indexes. If you do not use filebased users you should create one to solve this issue.

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