Changing the index purge duration for Elasticsearch
To avoid unchecked growth of data stored in Elasticsearch, older data must be deleted periodically. This is accomplished by rotating indexes and deleting them after the predefined retention period.
About this task
The script used to delete expired indexes is installed on the IBM Spectrum LSF Explorer Server host under /etc/cron.daily/drop_es_indices and will automatically be executed daily.
The configuration file indexpurge.conf is used to configure the index retention period and can be edited to customize the retention period.
Note: Each index name must follow the pattern "<prefix>-<date>", where "<prefix>" is
determined by the index contents and "<date>" is the index creation date in either of the
following two formats: YYYY.MM.DD or YYYYMM.