Properly purging old data

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.

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.

1 Like

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