I have encountered the problem that Kibana stuck completing setup when I launch it with user super123
When I looked at the log, I found that there's an error stating that
Blockquote [ERROR][savedobjects-service] [.kibana] Action failed with 'security_exception: [security_exception] Reason: action [indices:admin/create] is unauthorized for user [super123] with roles [admincreate,superuser] on restricted indices [.kibana_8.4.3_001], this action is granted by the index privileges [create_index,manage,all]'. Retrying attempt 1 in 2 seconds.
So, I have used the command
curl -k -u "super123" "http://elasticsearch-service:9200/_security/user/_privileges"
I understand that this user: super123 have the create_index privilege now, and it should work. Can anyone guide what went wrong here?