Deleting oldest data weekly


(Mohamed) #1

Hello,
I am using ELK to create dashboards but I would like to delete frequently data, in fact every minute I get 100 new data and I would like to delete every week the oldest data. Any suggestions please.
Thanks


(Jymit Khondhu) #2

Curator!

See here: http://www.madhur.co.in/blog/2017/04/09/usingcuratordeleteelasticindex.html
and
here: Delete Indices older than 30 days


(Mohamed) #3

I have another question, Can I run the curator in the event that the disk space is coming to an end?


(Aaron Mildenstein) #4

Kind of. See the space filter. It won’t detect when you are running out of space, but it does allow you to delete indices beyond a certain amount of space consumed.


(system) #5

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