FORBIDDEN/12/index read-only / allow delete (api)]

Posted 行走的RMB

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FORBIDDEN/12/index read-only / allow delete (api)]相关的知识,希望对你有一定的参考价值。

_all 可以改为自己的索引名称,也可以直接执行

 

curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings -d ‘{"index.blocks.read_only_allow_delete": null}‘

 

以上是关于FORBIDDEN/12/index read-only / allow delete (api)]的主要内容,如果未能解决你的问题,请参考以下文章

Elasticsearch - cluster_block_exception [FORBIDDEN/12/index read-only / allow delete (api)]

解决:ElasticSearch ClusterBlockException[blocked by: [FORBIDDEN/12/index read-only / allow delete (api

ELK elasticsearch 因磁盘爆满导致无法 FORBIDDEN/12/index read-only / allow delete (api)