The index lifecycle management (ILM) feature in Elasticsearch allows you to automate the lifecycle of your APM Server indices as they grow and age. ILM is enabled by default, and a default policy is applied to all APM indices.
To view and edit these index lifecycle policies in Kibana,
select Stack Management / Index Lifecycle Management.
See manage the index lifecycle for more information.