我在同一个ubuntu22.04VM中安装了Elasticsearch和Kibana 8.4.0,我尝试通过令牌连接它们,当我尝试创建令牌时,会得到以下错误:
kibana@kibana:/usr/share/elasticsearch/bin$ ./elasticsearch-create-enrollment-token -s kibana
./elasticsearch-env: line 78: /etc/default/elasticsearch: Permission denied
kibana@kibana:/usr/share/elasticsearch/bin$ sudo ./elasticsearch-create-enrollment-token -s kibana
17:02:36.334 [main] ERROR org.elasticsearch.xpack.security.enrollment.ExternalEnrollmentTokenGenerator - Error 429when calling GET https://192.168.43.157:9200/_security/api_key. ResponseBody: {error={reason=index [.security-7] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];, type=cluster_block_exception, root_cause=[{reason=index [.security-7] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];, type=cluster_block_exception}]}, status=429}
Unable to create enrollment token for scope [kibana]发布于 2022-08-31 03:56:37
磁盘使用率超过洪泛级水印
这意味着磁盘已满,无法写入,因此Kibana无法写入.security-7索引以创建注册令牌。
您需要在我们的磁盘上腾出一些空间,然后情况就会自行解决。
https://stackoverflow.com/questions/73546206
复制相似问题