Elasticsearch authentication error with shield

553 Views Asked by At

It's very stange to see this scenario,

Environment Elasticsearch 2.0 and kibana 4.2 Shield version 2.0

I have created the users and roles but If I run the elasticsearch I can see the following

warning 
[2015-12-12 02:39:08,936][INFO ][node                     ] [Asbestos Man] starting ...
[2015-12-12 02:39:10,288][WARN ][shield.authc.esusers     ] [Asbestos Man] no users found in users file [/home/ec2-user/elasticsearch-2.0.0/config/shield/users]. use bin/shield/esusers to add users and role mappings
[2015-12-12 02:39:10,298][WARN ][shield.authc.esusers     ] [Asbestos Man] no entries found in users_roles file [/home/ubuntu-user

[ubuntu-user@ec2-22-09-21-322 elasticsearch-2.0.0]$

Here is my userlist which I had created,
bin/shield/esusers list
demo           : kibana4
webshop        : kibana4
user1          : tab014
kibana         : kibana4

I'm seeing Elasticsearch authentication exception in kibana url?

enter image description here

0

There are 0 best solutions below