Search Guard,
Elasticsearch and Kibana version 6.1.2
Java openjdk version
1.8.0, Debian jessie
Default demo Search
Guard config
(0)#:
bin/elasticsearch-plugin list
search-guard-6
(0)#:
bin/kibana-plugin list
searchguard@6.1.2
When I log into
Kibana with any user (kibanaro, admin) Kiabana status is red and this error is displayed:
plugin:elasticsearch@6.1.2
[security_exception] no permissions for
[indices:admin/mappings/get]
and User [name=kibanaserver, roles=,
requestedTenant=null]
``
Nothing in
elasticsearch log (debug level).
Am I missing
anything? As I said, default demo Search Guard config which I’ve
loaded with the sgadmin_demo.sh script:
(0)#: tools/sgadmin_demo.sh
WARNING: JAVA_HOME not set, will use /usr/bin/java
Search Guard Admin v6
Will connect to 10.2.60.170:9300 … done
Elasticsearch Version: 6.1.2
Search Guard Version: 6.1.2-22.0
Connected as CN=kirk,OU=client,O=client,L=Test,C=DE
Contacting elasticsearch cluster ‘elasticsearch’ and wait for YELLOW clusterstate …
Clustername: do2-elastest
Clusterstate: GREEN
Number of nodes: 2
Number of data nodes: 2
searchguard index already exists, so we do not need to create one.
Populate config from /usr/share/elasticsearch/plugins/search-guard-6/sgconfig/
Will update ‘sg/config’ with /usr/share/elasticsearch/plugins/search-guard-6/sgconfig/sg_config.yml
SUCC: Configuration for ‘config’ created or updated
Will update ‘sg/roles’ with /usr/share/elasticsearch/plugins/search-guard-6/sgconfig/sg_roles.yml
SUCC: Configuration for ‘roles’ created or updated
Will update ‘sg/rolesmapping’ with /usr/share/elasticsearch/plugins/search-guard-6/sgconfig/sg_roles_mapping.yml
SUCC: Configuration for ‘rolesmapping’ created or updated
Will update ‘sg/internalusers’ with /usr/share/elasticsearch/plugins/search-guard-6/sgconfig/sg_internal_users.yml
SUCC: Configuration for ‘internalusers’ created or updated
Will update ‘sg/actiongroups’ with /usr/share/elasticsearch/plugins/search-guard-6/sgconfig/sg_action_groups.yml
SUCC: Configuration for ‘actiongroups’ created or updated
Done with success
``
Thanks for the help.