原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/index-lifecycle-management.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/index-lifecycle-management.html
本地英文版地址: ../en/index-lifecycle-management.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
ILM: Manage the index lifecycleedit
You can configure index lifecycle management (ILM) policies to automatically manage indices according to your performance, resiliency, and retention requirements. For example, you could use ILM to:
- Spin up a new index when an index reaches a certain size or number of documents
- Create a new index each day, week, or month and archive previous ones
- Delete stale indices to enforce data retention standards
When you enable index lifecycle management for Beats or the Logstash Elasticsearch output plugin, ILM is configured automatically. You can modify the default policies through Kibana Management or the ILM APIs.
To automatically back up your indices and manage snapshots, use snapshot lifecycle policies.