Curator
is an Elasticsearch Python API which helps manage indices and snapshots.
Curator: https://curator.readthedocs.io/en/latest/index.html#
Rotating data in Amazon Elasticsearch with Curator: https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/curator.html