elasticsearch+kibana setup

加载示例数据,设置index的时候出错: 提示 forbidden
则可能是es的问题,需要执行如下命令:

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

参考:https://www.elastic.co/guide/en/elasticsearch/reference/current/disk-allocator.html

curl -X PUT "localhost:9200/twitter/_settings" -H 'Content-Type: application/json' -d'
{
  "index.blocks.read_only_allow_delete": null
}
'

posted on 2019-07-27 21:50  rainduck  阅读(230)  评论(0编辑  收藏  举报

导航