I've installed shield 2.4.0 on elasticsearch 2.4.0 but not on kibana. Now when I go to http://localhost:9200/_count a window prompt out for username and password. I logged in as a normal user with read only access.
Later on I want to switch to admin, how can I do this? It seems any following operation assume the normal user role with read access. I cannot "logout" current user.
When you point your browser directly at a Shield-protected Elasticsearch cluster, it uses the browser's built in http basic auth support, which caches successful credentials for the life of the browser. This is the way that browsers work, which we cannot control. This is a big part of why we created the Shield Plugin for Kibana, so we could have a proper login/out experience.
If you'd like to run commands against the cluster, with proper login-logout, etc, I suggest installing Sense into Kibana, and running your requests from there.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.