2021-10-19 18:48:14 +00:00
# curator-opensearch
2022-11-10 20:10:11 +00:00
Этот проект является форком от https://github.com/elastic/curator. Основная причина е г о создания - несовместимость elastic/curator и OpenSearch.
Оригинальный curator хорошо работал с OpenDistro, но когда мы решили переходить на OpenSearch выяснилось, что поддержки OpenSearch у elastic/curator - нет.
2022-11-10 20:17:42 +00:00
Для обеспечиня совместимости с OpenSearch был использован [opensearch-py ](https://opensearch-project.github.io/opensearch-py/ ) - "is [a community-driven, open source fork ](https://aws.amazon.com/blogs/opensource/introducing-opensearch/ ) of elasticsearch-py."
2022-11-10 20:10:11 +00:00
2022-11-10 20:17:42 +00:00
`Curator API Documentation`
2022-11-10 20:10:11 +00:00
----------------------------
Curator ships with both an API and a wrapper script (which is actually defined
as an entry point). The API allows you to write your own scripts to accomplish
similar goals, or even new and different things with the `Curator API` _, and
the `Elasticsearch Python API` _.
2022-11-10 20:17:42 +00:00
* Curator API: http://curator.readthedocs.io/
2022-11-10 20:10:11 +00:00
2022-11-10 20:17:42 +00:00
* OpenSearch Python API: https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md
2022-11-10 20:10:11 +00:00
2022-11-10 20:17:42 +00:00
`Curator CLI Documentation`
2022-11-10 20:10:11 +00:00
----------------------------
2022-11-10 20:17:42 +00:00
The `Curator CLI Documentation` is now a part of the document repository at
2022-11-10 20:10:11 +00:00
http://elastic.co/guide at http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
2022-11-10 20:17:42 +00:00
* Curator CLI Documentation: http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
2022-11-10 20:10:11 +00:00
2022-11-10 20:17:42 +00:00
`Getting Started`
2022-11-10 20:10:11 +00:00
------------------
2022-11-10 20:17:42 +00:00
* Getting Started: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about.html
2022-11-10 20:10:11 +00:00
2022-11-10 20:17:42 +00:00
Для установки curator используйте pip:
````
$ pip install curator-opensearch
````
2022-11-10 20:10:11 +00:00
Running ``curator --help`` will also show usage information.