https://github.com/NLPchina/elasticsearch-sql
[2019-08-28T16:52:00,257][INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 403 ({"type"=>"cluster_block_exception", "reason"=>"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"})
curl -XPUT -H "Content-Type: application/json" http://192.168.31.201:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete":null}'
curl -XPUT -H "Content-Type: application/json" http://192.168.31.202:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
kibana开发控制台执行
PUT _settings
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}