I am running logstash on windows 2016 vm . I use it from administrator command line. I keep getting this message. It won't let me save my visualization on kibana and keeps me from shutting it down (ctrl+c).
This is the message:
logstash.outputs.elasticsearch] retrying failed action with response code: 403 ({"type"=>"cluster_block_exception", "reason"=>"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]
My elasticsearch is operating using default configuration. I asked on logstash forum but they recommended I ask here. I am completely lost. I've tried restarting all the services, and even the computer. Each time I run logstash it throws me this error
I'm currently having the same issue with some ES indices. I'd say it has nothing to do with Logstash.
For me, the issue started occurring after the file system of the server running Elasticsearch had been over its threshold. I tried restarting the cluster (currently a single node), but to no avail.
The only thing that helped was reindexing the data in order not to lose anything, then deleting the existing indices.
I'm still trying to solve the same issue for the .kibana index though.
Any advice as to how to avoid this issue in the future and/or best practises or better ways to solve it would be very much appreciated.
Edit: i think my problem is low storage. just check your storage first. when it's low, kibana auto changes its config to read-only mode. to deal with it, go to your dev tools console and
run below command:
I tried doing that with powershell WebRequest but it still gives me this error. I mean this very same command yields the error 'FORBIDDEN/12/index-read-only'
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.