elasticsearch+kibana setup

加载示例数据,设置index的时候出错: 提示 forbidden
则多是es的问题,须要执行以下命令:html

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.htmlshell

curl -X PUT "localhost:9200/twitter/_settings" -H 'Content-Type: application/json' -d'
{
  "index.blocks.read_only_allow_delete": null
}
'
相关文章
相关标签/搜索