This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Tutorials: Customize data retention policies
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Tutorials: Customize data retention policies
editThese tutorials explain how to apply a custom ILM policy to an integration’s data stream.
Before you begin
editFor certain features you’ll need to use a slightly different procedure to manage the index lifecycle:
- APM: For verions 8.15 and later, refer to Index lifecycle management.
- Synthetic monitoring: Refer to Manage data retention.
- Universal Profiling: Refer to Universal Profiling index life cycle management.
Identify your scenario
editHow you apply an ILM policy depends on your use case. Choose a scenario for the detailed steps.
- Scenario 1: You want to apply an ILM policy to all logs or metrics data streams across all namespaces.
- Scenario 2: You want to apply an ILM policy to selected data streams in an integration.
- Scenario 3: You want apply an ILM policy for data streams in a selected namespace in an integration.