3

enter image description hereI am using kibana 6.5.4 to visualise my data in ES but there are sth wrong. Firstly, I searched the index "sentiment" and it does exist in my ES; Secondly, I clicked "Create index pattern"; Finally, it stuck here forever...

Z.LI
  • 369
  • 3
  • 11
  • If you open your web console you might see an error in the network requests. I see: `{"message":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];: [cluster_block_exception] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];","statusCode":403,"error":"Forbidden"}` – Chris Stryczynski Aug 25 '19 at 11:31

3 Answers3

1

Could be caused to due index permissions.

If it's due to low disk space the following answer is relevant: Elasticsearch error: cluster_block_exception [FORBIDDEN/12/index read-only / allow delete (api)], flood stage disk watermark exceeded

Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
1

updating the cluster and removing blocks from the indices worked for me:

curl -X PUT \
  localhost:9200/_all/_settings \
  -d '{"index.blocks.read_only_allow_delete": null}'

curl -X PUT \
  localhost:9200/_cluster/settings \
  -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'
csabinho
  • 1,579
  • 1
  • 18
  • 28
0

Use developer console and try the following commands the check the existence of the index.

 GET <index-pattern>/_search
    {
  "query": {
    "match_all": {}
  }
}

Also, check your elastic logs for any error.

Ankit
  • 599
  • 2
  • 11