Deleting Logs

Hello,
I have deleted many logs before, but for some reason now the logs aren't getting deleted.
I am using the following command:

PowerShell.exe Invoke-RestMethod -Method Delete http://IP:9200/logstash-*

but for some reason its not working.
I am doing this because I need memory. I already cleaned my /dev/sda1 and allocated memory to it:


so clearly I have space
This is how it looks on kibana:

image

Any clues?

Edit#1: I used this command instead:

Invoke-WebRequest -Uri 'http://IP:9200/users/' -Method Delete

And it didn't work, but then I decided to delete .monitoring and that seemed to work. it is all cleared now

Were you getting any response from ES from that request that failed? It usually offers some clues why it didn't work.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.