You can configure the number of days to purge Elasticsearch indices for an
instance group that are configurable in the configuration file.
Procedure
- In a text editor, open the
$EGO_CONFDIR/../../integration/elk/conf/indexcleanup/sym_explorer.conf
configuration file.
- Locate the following index that you want to modify. The default value is
14
days:
ibm-symphony-report-charge-back*
- Set the following index to the number of days you want to archive the index. For example,
the following configuration modifies the index from the default
14
days to
31
days:
ibm-symphony-report-charge-back* 31
- The change takes effect the next day when the purge interval happens. Or you can restart
the
elk-manager
service to trigger the purge interval.