Saturday 5 May 2018

Kibana Error 403 Forbidden: blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];

flood stage disk watermark [95%] exceeded, all indices on this node will marked read-only

You may face this error if you disk space watermark level has reached which will mark all indices read-only. The indexes once gets locked, they never get unlocked even if you free up some disk space. The fix has to be done manually by running the following command:

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

2 comments:

  1. Where to run this command. Please let me know the location where you are running this.

    ReplyDelete
    Replies
    1. You have to run this command where your elasticsearch is running as it specify "localhost". Also don't use https if elasticsearch isn't listening on it.

      Delete

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel