Automating Index Lifecycle with ISM in OpenSearch: Rollover, Force Merge, and Auto-Delete
· 5 min read
Log indices grow without bound unless you manage them. OpenSearch Index State Management (ISM) lets you define policies that automatically roll over active write indices when they hit a size or document threshold, and delete old ones after a retention period. This post shows how to build and verify a complete lifecycle policy on a live OpenSearch 2.19.1 cluster managed by FoundryDB.
All commands use YOUR_OPENSEARCH_HOST and YOUR_PASSWORD as placeholders.