At run time, the following result is displayed. If you check the store.size of the delete file, there is no index of 300mb.
curator --configcurator-config.yml delete_indices_space.yml --dry-run
2019-06-26 11:12:58,982 INFO Preparing Action ID: 1, "delete_indices"
2019-06-26 11:12:58,991 INFO Trying Action ID: 1, "delete_indices": No description given
2019-06-26 11:12:59,081 INFO DRY-RUN MODE. No changes will be made.
2019-06-26 11:12:59,081 INFO (CLOSED) indices may be shown that may not be acted on by action "delete_indices".
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.03 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.04 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.05 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.06 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.07 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.08 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.09 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.10 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.11 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.12 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.13 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.14 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-alerts-3.x-2019.05.15 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.03 with arguments: {}
2019-06-26 11:12:59,082 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.05 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.06 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.07 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.08 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.09 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.10 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.11 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.12 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.13 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.14 with arguments: {}
2019-06-26 11:12:59,083 INFO DRY-RUN: delete_indices: wazuh-monitoring-3.x-2019.05.15 with arguments: {}
2019-06-26 11:12:59,084 INFO Action ID: 1, "delete_indices" completed.
2019-06-26 11:12:59,084 INFO Job completed.
If you run disk_space with 200mb, more indexes will be deleted than 300mb. I do not understand this part.
The store.size in each individual index file is up to 18mb, which is less than 200 or 300mb. I wonder if the index is selected in some criteria.
index Is not the capacity reference store.size?
I would appreciate your help.
thank you.