Properly purging old data


#1

Hey all. Topic says it here...wanting to know how to PROPERLY purge data. I have a script I got:

elasticsearch-remove-old-indices.sh

Which was inspired by: backup/restore/purge. Usually this works, but I wanted to see if anyone had a better method. Thank you.


(Mark Walkom) #2

Are you using time based data, if so the best option is to use time based indices and then just delete the index using Elasticsearch Curator.


#3

I was unaware of curator....installed and it worked perfectly...thanks so much.


(system) #4