How to add new user into elastic search

I disabled the enterprise modules . I want add user into search guard .
I tried adding user in sg_internal_users.yml as guided “Internal users database | Security for Elasticsearch | Search Guard”. But could not log in . Could i get suggestions on that.

Regards - Mani.

Hi,

there are some “first steps” chapters in the docs that describe how to add new users step-by-step.

For V7 please start here:

For V6 please start here:

If you have problems with users or permissions, there are two troubleshooting guides as well:

Let me know if this helps. Otherwise please post your configuration and add some steps to reproduce.