Introducing curator-opensearch: an Open Source tool for handling OpenSearch indexes

Flant staff
Flant
Published in
2 min readJan 31, 2023

The Curator index manager allows you to create, delete and disable Elasticsearch indexes, as well as create and delete snapshots. Curator works well with OpenDistro, but our attempt to use it with the OpenSearch search engine failed: as it turned out, Curator did not support it. That is why we developed curator-opensearch, a fork of Curator adapted for OpenSearch.

It is based on the opensearch-py client library, a community-driven Open Source fork of elasticsearch-py. This makes it fully compatible with OpenSearch. On top of that, our tool fully supports the Elasticsearch Curator Python API and comes with a wrapper script serving as an entry point.

We have been successfully using curator-opensearch in our installations. Today, we are happy to share this handy tool with the community. The project source code is distributed under Apache License 2.0.

You can install curator-opensearch using the Python package installer:

$ pip install curator-opensearch

The curator --help command provides additional usage information.

The documentation of the original projects is relevant to curator-opensearch as well:

If you want to contribute but need help finding the right Issue, you can reach us at GitHub Discussions for guidance. Please, star our project on GitHub if you appreciate our efforts!

Follow Twitter to get new excellent content from Flant!

--

--