Keep ILM policy on upgrade

Hi @dnorth98,
sorry to hear you are running into issues with ILM. We plan to release support for editing policies directly in the APM Server config file, which allows to configure changes once and have them automatically re-applied on every version upgrade.
The solution you posted is not released yet. Therefore you need to manually repeat your policy changes on upgrades, e.g via the Kibana UI. Policy changes are applied to all indices attached to the policy, but the settings for the current phase are cached and will only take effect on entering the next phase. You could also remove and newly add policies to indices if that fits your use case better.

1 Like