All Projects → giantswarm → curator

giantswarm / curator

Licence: Apache-2.0 license
Lightweight job to delete old Elasticsearch indices from logging

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

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)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].