/ Tools

Kibana create index pattern, error Forbidden

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 :)

mimimi

mimimi

Currently a Computer Engineering student at the National University of Singapore, passionate about software engineering. Contact me: info at mimimi.fun

Read More
Kibana create index pattern, error Forbidden
Share this