报错内容
Privileges are missing and can't be removed, currently
解决方案
代码语言:shell复制# 暂停kibana、备份kibana、删除doc
systemctl stop kibana
curl -u 'elastic:$PWD' -XDELETE '$URL/_xpack/security/privilege/kibana-.kibana/space_all'
curl -u 'elastic:$PWD' -XDELETE '$URL/_xpack/security/privilege/kibana-.kibana/space_read'
systemctl start kibana
可参考
https://discuss.elastic.co/t/kibana-6-4-2-plugin-security-privileges-are-missing-and-cant-be-removed-currently/160650/2