I defined my own role and user as follows:
Single piece of data indexing or geting succeed.
I encountered ‘no permissions for indices:data/read/mget’ in kibana, and ‘no permissions for indices:data/write/bulk’ when testing bulking.
If I change cluster permission in my sg_roles.yml:
Every thing gos ok. Thus I have to open all access for ordinary users.
I wonder if anyone can help me.