We want to define authority for our software developer friends to create indexes within Elastic Searc Kibana

Hello friends

We want to define authority for our software developer friends to create indexes within Elastic Searc Kibana, but this authority should never be superuser because we do the resource management. How can we define this authority? We assigned all user roles, but the result is not successful.

The error they encountered is as follows.

What are the permissions and roles that you are giving to your users?

The error is clear, the user does not have the create_index permission on the index fileserver-document-search.

You need to add this permission to a specific index or using a wildcard.

We had authorized all users roles, we already expected that they would not exist. Then we gave logstach system permission, but it still didn't work. We temporarily gave superuser the ability to do it now, but we will get this authority again at the end of the day.

We had authorized all users roles, we already expected that they would not exist. Then we gave logstach system permission, but it still didn't work. We temporarily gave superuser the ability to do it now, but we will get this authority again at the end of the day. Whichever of the admin roles I give, I can only give limited authority, that is, the authority to create indexes. I'm sorry, I don't have much knowledge on this subject and we are trying to move forward with limited knowledge.

You need to read the documentation about how permissions work on Elasticsearch, you can start here.

For example, to be able to create an index, the user need to have a role with the create_index privilege on the index name you want to create or some pattern like indexName-*, without it you will not be able to create any index.

Thank you for your answer. Is there a documentation link explaining the powers of these roles?

Yes, please check the previous answer, there is a link to the documentation.