Authentication to realm default native failed - Password authentication failed for xyz

Hi All,

Elasticsearch-version-7.6.2
I have created xyz admin user for only monitoring the url. For that I have created one custom role and add that role into the user.

Below is my role code with the name my_admin_role
{
"cluster": ["monitor"],
"indices": [
{
"names": [ "all" ],
"privileges": ["read"]
}
]
}

And create xyz user and assign that role to xyz user
{
"password" : "xyz123",
"roles" : [ "admin","my_admin_role" ],
"full_name" : "",
"email" : "",
"metadata" : {
"reserved" : true
}
}

But I faced the Authentication to realm default native failed - Password authentication failed for xyz warning in my elasticsearch logs.

can anyone help here?

Thanks in advanced

Can u post the elastic logs?

The typical explanation for that message is that you entered the wrong password for the user.

What is the exact call you are making to try and authenticate as the user?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.