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" } } }'
用一个例子来演示会更加清晰
1.对所有索引去只读
curl -XPUT -H 'Content-Type: application/json' http://192.168.1.156:9200/_settings -d ' { "index": { "blocks": { "read_only_allow_delete": "false" } } }'