I was testing beat input and i pump lots of data by mistake now i want to delete those data and not sure how do i clean up my test data from production because i have default graylog_* indices.
I want to delete all data from this input, how do i craft ELK curl query to delete any data in that input?
I was going to mention that you’re probably better off looking at Elastic’s docs to see what they have for running a delete command from an index. They provide some basic curl commands in Delete API | Elasticsearch Reference [7.10] | Elastic that you can use to tweak for your needs.