I have changed the config file sg_roles.yml
sg_apache_tomcat:
indices:
‘apache-tomcat-*’:
‘*’:
- ALL
and the sg_roles_mapping.yml:
sg_apache_tomcat:
users:
- kirk
and in the kibana.yml, i added the entries
elasticsearch.username: “kibanaserver”
elasticsearch.password: “kibanaserver”
And with the command curl -XGET -u kirk:kirk “http://192.25.97.128:9200/apache-*?pretty” , i can get what i want.
But when i access the kibana with the “kirk”, i got the errors as follow:
Courier Fetch Error: unhandled courier request error: unknown error
Error: unhandled courier request error: unknown error
at handleError ([http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78871:23](http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78871:23) )
at DocRequest.AbstractReqProvider.AbstractReq.handleFailure ([http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78791:15](http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78791:15) )
at [http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78685:18](http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78685:18)
at Array.forEach (native)
at [http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78683:19](http://192.25.97.128:5601/bundles/kibana.bundle.js?v=9732:78683:19)
at processQueue ([http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:42357:29](http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:42357:29) )
at [http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:42373:28](http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:42373:28)
at Scope.$eval ([http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:43601:29](http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:43601:29) )
at Scope.$digest ([http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:43412:32](http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:43412:32) )
at Scope.$apply ([http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:43709:25](http://192.25.97.128:5601/bundles/commons.bundle.js?v=9732:43709:25))
What’t more, i can access the kibana with the “admin”.
Can you tell me where did i miss?