Hi all,
My current cluster is an upgraded cluster from version 7.x to 8.x
It has alot of system indices that nolonger require in the cluster but whenever i tried to delete it. I got this message
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "action [indices:admin/delete] is unauthorized for user [elastic] with effective roles [superuser] on restricted indices [.kibana_8.6.2_001], this action is granted by the index privileges [delete_index,manage,all]"
}
],
"type": "security_exception",
"reason": "action [indices:admin/delete] is unauthorized for user [elastic] with effective roles [superuser] on restricted indices [.kibana_8.6.2_001], this action is granted by the index privileges [delete_index,manage,all]"
},
"status": 403
}
Is there a way to delete the system indices?
Thanks for your help.
System indices are protected against accidental deletions. I think you encounter this problem because your elastic user (superuser) does not have necessary roles.
Please check the user roles if there is explicitly defined delete_index role.
If you customized your superuser, consider using built-in user.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.