create index pattern Forbidden error

1.对所有索引去只读

curl -XPUT -H 'Content-Type: application/json' http://192.168.1.156:9200/_settings -d '
{
    "index": {
        "blocks": {
            "read_only_allow_delete": "false"
        }
    }
}'

https://www.cnblogs.com/barneywill/p/10622944.html

posted @ 2020-01-12 11:39  littlevigra  阅读(372)  评论(0编辑  收藏  举报