看到这样的场景很奇怪,
环境 Elasticsearch 2.0 和 kibana 4.2 Shield 2.0 版
我已经创建了用户和角色,但是如果我运行 elasticsearch,我可以看到以下内容
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
我在 kibana url 中看到 Elasticsearch 身份验证异常?