Hi,
I'm trying to delete data by query from our elastic search cluster. If i
run the delete on the current active index it works fine.
However if i try to run the delete against an older index ( which is still
open ) I get an exception.
{
"error": "ClusterBlockException[blocked by: [FORBIDDEN/8/index write
(api)];]",
"status": 403
}
The query is http://1.2.3.4:9200/graylog2_102/message/_query
{
"size": 3,
"query": {
"match": {"message": "apples"}
}}
Can you advise on how to delete these specifc 'apple' messages without
deleting the whole index ?
Thanks
Paul.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e1807c73-3edd-4a86-b419-2197a0d95e30%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Does anyone have any experience of this problem ?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/70d27670-a9f3-43a5-b6ab-2f0c93e2b5ba%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Bump... Anyone ?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/53b9506b-78c9-4219-b46b-86b4125a42ae%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
magicalbob
(Magicalbob)
December 9, 2015, 9:12am
4
Did you get an answer to this? I've just had the same {"error":"ClusterBlockException[blocked by: [FORBIDDEN/8/index write (api)];]","status":403} response .....
n4nagappan
(N4nagappan)
December 17, 2015, 7:44am
5
Came across the same issue. Any solution yet ?
Request to Elasticsearch failed: "ClusterBlockException[blocked by: [FORBIDDEN/8/index write (api)];]"
n4nagappan
(N4nagappan)
December 17, 2015, 8:09am
6
The reason for this in my case was that the ES machine ran out of space. I had to increase disk space. Hope that helps.
1 Like
Yap, Check your free space
deerawan
(Budi Irawan)
April 26, 2017, 4:19am
8
I also got same issue but my disk still have a lot free storage space.
wondering why it can happen.
Having the same issue , could someone help to find the root cause ?