elasticsearch+kibana setup

When load sample data set index error: Tips forbidden
there may be a problem es, we need to execute the following command:

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

Reference: 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
}
'

Guess you like

Origin www.cnblogs.com/rainduck/p/11256922.html