kibana顯示:
Error: [object Object]: [security_exception] missing authentication token for REST request [/laravel_wechat_app_admin*/_field_caps?fields=*&ignore_unavailable=true&allow_no_indices=false], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } }
at http://ip:5601/bundles/commons.bundle.js?v=16602:1:688912
at processQueue (http://ip:5601/bundles/vendors.bundle.js?v=16602:58:132456)
at http://ip:5601/bundles/vendors.bundle.js?v=16602:58:133349
at Scope.$digest (http://ip:5601/bundles/vendors.bundle.js?v=16602:58:144239)
at Scope.$apply (http://ip:5601/bundles/vendors.bundle.js?v=16602:58:147018)
at done (http://ip:5601/bundles/vendors.bundle.js?v=16602:58:100026)
at completeRequest (http://ip:5601/bundles/vendors.bundle.js?v=16602:58:104697)
at XMLHttpRequest.xhr.onload (http://ip:5601/bundles/vendors.bundle.js?v=16602:58:105435)
解決辦法:
vim config/elasticsearch.yml 新增,重新開機即可
- xpack.security.enabled: false