Hello,
i want to delete a single message from graylog. i have searched alot but i did not find a way to do that.
what i found is, that i can delete the message from elasticsearch cluster with curl:
curl -XDELETE 'http://localhost:9200/graylog_27/message/message_id
the “graylog_27” is the last index, so i do not need to set the following:
curl -XPUT 'http://localhost:9200/graylog_27/_settings' -d '{
"index" : {
"blocks.write" : false
}
}'
but this does not work for me
Elasticsearch version is: “7.17.5”
3. What steps have you already taken to try and solve the problem?
when i use
curl -XDELETE 'http://localhost:9200/graylog_27/message/message_id
i get the following output:
curl -XDELETE 'http://localhost:9200/graylog_27/message/message_id
{“_index”:“graylog_27”,“_type”:“message”,“_id”:“message_id”,“found”:false}
can somebody give me a hint, why this does not work.