Skip to content
Discussion options

You must be logged in to vote

Found how to create a role and a new user with the role that will allow you to delete system indexes. This one is specifically for Kibana indexes: https://www.elastic.co/guide/en/kibana/master/resolve-migrations-failures.html#_corrupt_saved_objects

Create the role

curl -u "anyuserwithpermissions" -k -XPUT  https://localhost:9200/_security/role/grant_kibana_system_indices -H "Content-Type: application/json" -d '{"indices": [{"names": [".kibana*"], "privileges": ["all"], "allow_restricted_indices": true}]}'

Create new user with the role

curl -u "anyuserwithpermissions" -k -XPOST  https://localhost:9200/_security/user/kibanaindexuser -H "Content-Type: application/json" -d '{"password" : "**…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@petiepooo
Comment options

@rjdub2
Comment options

@cm-ops
Comment options

@rjdub2
Comment options

@cm-ops
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rjdub2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
2.4
Labels
None yet
3 participants