Skip to content

Lightweight job to delete old Elasticsearch indices from logging

License

Notifications You must be signed in to change notification settings

Nesstech/curator

 
 

Repository files navigation

CircleCI Docker Repository on Quay

Curator for Elasticsearch

Simplistic cousin of Elasticsearch curator, created for one purpose only: Delete log indices created by fluentd which are older than a certain number of days.

Configuration

The following environment variables can be used for configuration:

  • ELASTICSEARCH_HOST: Name of the host that's running elasticsearch (default: elasticsearch:9200)
  • RETENTION_DAYS: Number of days to keep indices for (default: 14)
  • INDEX_NAME_PREFIX: Name prefix of the temporal index (default: fluentd-). This can also be a space-separated list of names, which means that there are several indexes per temporal unit.
  • INDEX_NAME_TIMEFORMAT: Temporal string format in the index name (default: %Y.%m.%d)

About

Lightweight job to delete old Elasticsearch indices from logging

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.9%
  • Dockerfile 8.5%
  • Makefile 2.6%