How to delete indice data from disk?


(Robert) #1

Hey guys,

I want to delete all indices which are older than 30 days. I have successfully created a curator script which deletes the indices from ES, the indices which are deleted are not shown in kibana but the storage is nevertheless used. What can I do to delete the data directly from disk?

Best regards,
Robert


(David Pilato) #2

Very strange. This should not happen.

Can you run a

GET /_cat/indices?v

And a

ls -lrt data/nodes/0/indices/

And share both results here?

What makes you think that data is not deleted?


(Robert) #3

Hey @dadoonet,
thanks for your answer, I thought they are not deleted but they are. The storage-size has not changed so i thought they are not deleted. (but they are, so everything is fine)

Best regards,
Robert


(system) #4

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