kibana显示:
Error: [object Object]: [security_exception] missing authentication token for REST request [/logstash-*/_field_caps?fields=*&ignore_unavailable=true&allow_no_indices=false], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } at http://192.168.204.128:5601/bundles/kibana.bundle.js?v=16108:27:1911 at processQueue (http://192.168.204.128:5601/bundles/commons.bundle.js?v=16108:39:9912) at http://192.168.204.128:5601/bundles/commons.bundle.js?v=16108:39:10805 at Scope.$digest (http://192.168.204.128:5601/bundles/commons.bundle.js?v=16108:39:21741) at Scope.$apply (http://192.168.204.128:5601/bundles/commons.bundle.js?v=16108:39:24520) at done (http://192.168.204.128:5601/bundles/commons.bundle.js?v=16108:38:9495) at completeRequest (http://192.168.204.128:5601/bundles/commons.bundle.js?v=16108:38:13952) at XMLHttpRequest.xhr.onload (http://192.168.204.128:5601/bundles/commons.bundle.js?v=16108:38:14690)
解决办法:
vim config/elasticsearch.yml 新增,重启即可
xpack.security.enabled: false