Welcome back.
In this section we set up Elasticsearch User four to open.
So we don't need the root user to access Elasticsearch API on this section.
We will create Elasticsearch for our flagman so we can entry into the Kibwana portal so you can enter
your illustrates user this admin user.
Then you can create a new user.
So.
Okay.
Now from this, we can click the menu and then we can click the stack management.
After that, you can see here we have a list of menu and you can see here the security and you can click
the role.
So from this, we create a new role to access our Elasticsearch API and we can give the privilege to
access certain indexes.
So from this you can click the great roll button.
Then we have this form and we can entry type the.
Wrong name.
For instance, the proper.
And then you can see the cluster for a flat.
So from this, we just keep the monitor.
We have set this monitor.
Then we set four for the peripheral here.
Then we can customize the Elasticsearch index.
So, for instance, we want to this rule only access this to Udemy and Star.
So this means this role can access the index traffic like this, and then you can set any index starting
from this.
Then for privilege you can set here for we.
Then read index.
Then in the so I set this user can index and document.
Plus this rule can cut list of metadata on this index.
So you can set here, so you can set it right in the in the grid document and fill in that metadata.
So these are our privilege for the the rule.
So from this, we're done set to access the key burner so they can only access to Elasticsearch server
directly.
So from this you can click roll button.
Then you can see we have the proper rules.
Next, we can create the new user for the proper role.
So from this we have a button user and then you can click this button and we have this name.
So for instance, we have a developer zero one and then you can set this a developer zero one.
Then we are done, set this email and then you can set the password.
And then for the role, you can set the custom role.
These are developers.
Then if you finish, you can click create button, create user button.
Then we have one user for developer one.
So Developer one cannot access keyboard up or down.
So this means this developer can only access to the Elasticsearch server directly.
Next, we can create the application to access Elasticsearch from program like CSP and spit on Java
or Node.js.