Page 1 of 1

Major issues indexes no longer deleted

Posted: Thu Sep 22, 2016 4:36 am
by WillemDH
Hello,

I'm having issues with our NLS sttorage filling up fast. After some investigation, it seems the backup_maintenance jobs are no longer running. The backup_maintenance job says it's running since 19/15/2016.

Please advise what to do to clean up some data asap or make backup_maintenance job run properly again..

I have started the 'reset all jobs' in the command subsystem, an configured a date 5 minutes from now. Hoepfully it's doing what is upposed to do now..

Another question => If I would want to delet the data from the indexes that havent been cleaned up, how would I do this? Can I just delete the index in the gui and will the data get deleted?

I managed to delete the index and data with

Code: Select all

curl -XDELETE 'localhost:9200/<name-of-index>'
So my space problem is resolved now. Please advise how to get the backup_maintenance script working properly again. I'll delete the last indexes manually for now.

Willem

Re: Major issues indexes no longer deleted

Posted: Thu Sep 22, 2016 9:11 am
by mcapra
Here are the maintenance tasks that run behind the scenes:

Code: Select all

curator --debug optimize indices --older-than <x> --time-unit days --timestring %Y.%m.%d
curator --debug close indices --older-than <y> --time-unit days --timestring %Y.%m.%d
curator --debug delete indices --older-than <z> --time-unit days --timestring %Y.%m.%d
Could you share the outputs of those commands? Replace the <x> / <y> / <z> in the commands with the appropriate values from your "Backup & Maintenance" page:
2016_09_22_09_10_08_Backup_Maintenance_Nagios_Log_Server.png

Re: Major issues indexes no longer deleted

Posted: Mon Sep 26, 2016 4:34 am
by WillemDH
Resetting the jobs seem to have fixed the issue. Thread can be cloes, next time I'll execute the curator command as per your suggestion. Grtz