curator-opensearch


Namecurator-opensearch JSON
Version 0.0.13 PyPI version JSON
download
home_pagehttps://github.com/uzhinskiy/curator-opensearch
SummaryTending your Elasticsearch indices
upload_time2024-07-30 15:54:08
maintainerNone
docs_urlNone
authorUzhinsky
requires_pythonNone
licenseApache License, Version 2.0
keywords elasticsearch time-series indexed index-expiry
VCS
bugtrack_url
requirements voluptuous opensearch-py urllib3 requests boto3 requests_aws4auth click pyyaml certifi six
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. _readme:


Curator
=======

Have indices in Elasticsearch? This is the tool for you!

Like a museum curator manages the exhibits and collections on display,
Elasticsearch Curator helps you curate, or manage your indices.


`Curator API Documentation`_
----------------------------

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`_.

.. _Curator API: http://curator.readthedocs.io/

.. _Curator API Documentation: `Curator API`_

.. _Elasticsearch Python API: http://elasticsearch-py.readthedocs.io/


`Curator CLI Documentation`_
----------------------------

The `Curator CLI Documentation`_ is now a part of the document repository at
http://elastic.co/guide at http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html

.. _Curator CLI Documentation: http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html

`Getting Started`_
------------------

.. _Getting Started: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about.html

See the `Installation guide <https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html>`_
and the `command-line usage guide <https://www.elastic.co/guide/en/elasticsearch/client/curator/current/command-line.html>`_

Running ``curator --help`` will also show usage information.

Contributing
------------

* fork the repo
* make changes in your fork
* add tests to cover your changes (if necessary)
* run tests
* sign the `CLA <http://elastic.co/contributor-agreement/>`_
* send a pull request!

To run from source, use the ``run_curator.py`` script in the root directory of
the project.

Running Tests
-------------

To run the test suite just run ``python setup.py test``

When changing code, contributing new code or fixing a bug please make sure you
include tests in your PR (or mark it as without tests so that someone else can
pick it up to add the tests). When fixing a bug please make sure the test
actually tests the bug - it should fail without the code changes and pass after
they're applied (it can still be one commit of course).

The tests will try to connect to your local elasticsearch instance and run
integration tests against it. This will delete all the data stored there! You
can use the env variable ``TEST_ES_SERVER`` to point to a different instance
(for example, 'otherhost:9203').


Origins
-------

Curator was first called ``clearESindices.py`` [1]_ and was almost immediately
renamed to ``logstash_index_cleaner.py`` [1]_.  After a time it was migrated
under the `logstash <https://github.com/elastic/logstash>`_ repository as
``expire_logs``.  Soon thereafter, Jordan Sissel was hired by Elasticsearch, as
was the original author of this tool.  It became Elasticsearch Curator after
that and is now hosted at `elastic/curator <https://github.com/elastic/curator>`_.

.. [1] `LOGSTASH-211 <https://logstash.jira.com/browse/LOGSTASH-211>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/uzhinskiy/curator-opensearch",
    "name": "curator-opensearch",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "elasticsearch time-series indexed index-expiry",
    "author": "Uzhinsky",
    "author_email": "lspci@mail.ru",
    "download_url": "https://files.pythonhosted.org/packages/a4/dc/132ad5f911b0ff734b7dae96ad8bc5431392a951af17a6f76b947dc289e0/curator_opensearch-0.0.13.tar.gz",
    "platform": null,
    "description": ".. _readme:\n\n\nCurator\n=======\n\nHave indices in Elasticsearch? This is the tool for you!\n\nLike a museum curator manages the exhibits and collections on display,\nElasticsearch Curator helps you curate, or manage your indices.\n\n\n`Curator API Documentation`_\n----------------------------\n\nCurator ships with both an API and a wrapper script (which is actually defined\nas an entry point).  The API allows you to write your own scripts to accomplish\nsimilar goals, or even new and different things with the `Curator API`_, and\nthe `Elasticsearch Python API`_.\n\n.. _Curator API: http://curator.readthedocs.io/\n\n.. _Curator API Documentation: `Curator API`_\n\n.. _Elasticsearch Python API: http://elasticsearch-py.readthedocs.io/\n\n\n`Curator CLI Documentation`_\n----------------------------\n\nThe `Curator CLI Documentation`_ is now a part of the document repository at\nhttp://elastic.co/guide at http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html\n\n.. _Curator CLI Documentation: http://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html\n\n`Getting Started`_\n------------------\n\n.. _Getting Started: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/about.html\n\nSee the `Installation guide <https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html>`_\nand the `command-line usage guide <https://www.elastic.co/guide/en/elasticsearch/client/curator/current/command-line.html>`_\n\nRunning ``curator --help`` will also show usage information.\n\nContributing\n------------\n\n* fork the repo\n* make changes in your fork\n* add tests to cover your changes (if necessary)\n* run tests\n* sign the `CLA <http://elastic.co/contributor-agreement/>`_\n* send a pull request!\n\nTo run from source, use the ``run_curator.py`` script in the root directory of\nthe project.\n\nRunning Tests\n-------------\n\nTo run the test suite just run ``python setup.py test``\n\nWhen changing code, contributing new code or fixing a bug please make sure you\ninclude tests in your PR (or mark it as without tests so that someone else can\npick it up to add the tests). When fixing a bug please make sure the test\nactually tests the bug - it should fail without the code changes and pass after\nthey're applied (it can still be one commit of course).\n\nThe tests will try to connect to your local elasticsearch instance and run\nintegration tests against it. This will delete all the data stored there! You\ncan use the env variable ``TEST_ES_SERVER`` to point to a different instance\n(for example, 'otherhost:9203').\n\n\nOrigins\n-------\n\nCurator was first called ``clearESindices.py`` [1]_ and was almost immediately\nrenamed to ``logstash_index_cleaner.py`` [1]_.  After a time it was migrated\nunder the `logstash <https://github.com/elastic/logstash>`_ repository as\n``expire_logs``.  Soon thereafter, Jordan Sissel was hired by Elasticsearch, as\nwas the original author of this tool.  It became Elasticsearch Curator after\nthat and is now hosted at `elastic/curator <https://github.com/elastic/curator>`_.\n\n.. [1] `LOGSTASH-211 <https://logstash.jira.com/browse/LOGSTASH-211>`_.\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "Tending your Elasticsearch indices",
    "version": "0.0.13",
    "project_urls": {
        "Download": "https://github.com/uzhinskiy/curator-opensearch/releases/tag/0.0.13",
        "Homepage": "https://github.com/uzhinskiy/curator-opensearch"
    },
    "split_keywords": [
        "elasticsearch",
        "time-series",
        "indexed",
        "index-expiry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4dc132ad5f911b0ff734b7dae96ad8bc5431392a951af17a6f76b947dc289e0",
                "md5": "3103488a3e8cf81313ea6b6f5982aa14",
                "sha256": "c97f45a038e19c71227f0d88baa370d737f2b3a18fe1416d448c21c3a1bf2714"
            },
            "downloads": -1,
            "filename": "curator_opensearch-0.0.13.tar.gz",
            "has_sig": false,
            "md5_digest": "3103488a3e8cf81313ea6b6f5982aa14",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 236782,
            "upload_time": "2024-07-30T15:54:08",
            "upload_time_iso_8601": "2024-07-30T15:54:08.989128Z",
            "url": "https://files.pythonhosted.org/packages/a4/dc/132ad5f911b0ff734b7dae96ad8bc5431392a951af17a6f76b947dc289e0/curator_opensearch-0.0.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-30 15:54:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "uzhinskiy",
    "github_project": "curator-opensearch",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "voluptuous",
            "specs": [
                [
                    ">=",
                    "0.12.1"
                ]
            ]
        },
        {
            "name": "opensearch-py",
            "specs": [
                [
                    ">=",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "<",
                    "2"
                ],
                [
                    ">=",
                    "1.26.5"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.26.0"
                ]
            ]
        },
        {
            "name": "boto3",
            "specs": [
                [
                    ">=",
                    "1.18.18"
                ]
            ]
        },
        {
            "name": "requests_aws4auth",
            "specs": [
                [
                    ">=",
                    "1.1.1"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "<",
                    "8.0"
                ],
                [
                    ">=",
                    "7.0"
                ]
            ]
        },
        {
            "name": "pyyaml",
            "specs": [
                [
                    ">=",
                    "5.4.1"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    ">=",
                    "2021.5.30"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    ">=",
                    "1.16.0"
                ]
            ]
        }
    ],
    "lcname": "curator-opensearch"
}
        
Elapsed time: 9.70785s