Good day!
So we recently updated our hosted Elastic Cloud deployment to 7.4.1 to resolve the issue discussed in 503 Queue is full. The fix worked so all happy there. However, I came in this morning to find the disk nearly full...how could this be?
Well. When APM is upgraded, it looks like it resets the index templates and hence reset back to the default ILM policies. In our case we've created our own policies to be much tighter on retention, etc. so this explains why I now have a single, large 7.4.1 index for transactions!
a) I only want to override the template for the -transaction, -span, etc templates
b) How does one have this fields.yml file be referenced when using hosted Elastic Cloud?
Or am I just misunderstanding how the template gets overridden?
Which I then added under User Setting Overrides. It took it..but then wiped it I'm guessing then that this isn't possible to change in the hosted Elastic Cloud APM?
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.