First time tries to create an index pattern in Kibana, after creating an index in elasticsearch, making sure the index name is correct, the ‘creating index pattern’ message just statys there forever. Js console in browser shows an Error: Forbidden.

Googling around gives a possible reason:

elasticsearch’s index is made read-only and never set back when disk watermark reached high

So I found this solution:

To unlock all indexes manually:
curl -XPUT -H "Content-Type: application/json" https://[YOUR_ELASTICSEARCH_ENDPOINT]:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

Source: link

Run this, my issue is solved 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *