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.
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)