Run the Elastic Curator periodically using the python buildpack and supercronic | Read-only mirror of https://github.com/swisscom/cf-curator-cron — Swisscom. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-16 17:15:01 +02:00
actions.yml Add workaround to use Elastic curator with python buildpack 2019-05-22 11:14:55 +02:00
CODE_OF_CONDUCT.md Compliance bulk update. Add CODE_OF_CONDUCT.md 2024-10-16 17:15:01 +02:00
CONTRIBUTING.md Compliance bulk update. Add CONTRIBUTING.md 2024-10-16 17:14:59 +02:00
crontab Add workaround to use Elastic curator with python buildpack 2019-05-22 11:14:55 +02:00
curator.yml Add workaround to use Elastic curator with python buildpack 2019-05-22 11:14:55 +02:00
LICENSE Add workaround to use Elastic curator with python buildpack 2019-05-22 11:14:55 +02:00
manifest.yml Add workaround to use Elastic curator with python buildpack 2019-05-22 11:14:55 +02:00
README.md Fix typo in curator doc. 2019-05-22 14:28:02 +02:00
requirements.txt Add workaround to use Elastic curator with python buildpack 2019-05-22 11:14:55 +02:00
supercronic Add workaround to use Elastic curator with python buildpack 2019-05-22 11:14:55 +02:00

cf-curator-cron

Workaround to get curator running in CF after deprecating https://github.com/swisscom/logstash-buildpack, cronjob based on https://github.com/aptible/supercronic.

This will be replaced by Index Lifecycle Management in current ElasticSearch versions (https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index-lifecycle-management.html)

Usage

Modify following files before pushing your curator:

  • actions.yml: Configure the names of your indices and their retention.
  • curator.yml: Replace elasticsearch host and username/password
  • crontab: You should use the --dry-run line before you configure your curator for production.

Instructions

To push to CF, simply execute cf push cf-curator-cron