Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

StenaIT/cloudops-elasticsearch-index-pruner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudops-elasticsearch-index-pruner

Docker image for cleaning up old indices, based on the curator component.

Docker Automated build Docker Build Status MicroBadger Size Docker Pulls

Configuration

Environment Variable Description Default Required
ES_HOST The hostname of Elasticsearch - true
ES_PORT The port of Elasticsearch - true
ES_BASIC_AUTH Username and password used when connecting to Elasticsearch - false
INDEX_OLDER_THAN_DAYS Indices older than this value will be deleted 14 false
INDEX_PREFIX Indices matching the given prefix will be deleted logstash- false

Using the docker image

docker run --rm \
  -e ES_HOST=es_host \
  -e ES_PORT=es_port \
  -e ES_BASIC_AUTH=username:password \
  -e INDEX_OLDER_THAN_DAYS=index_older_than_days \
  -e INDEX_PREFIX=index_prefix \
  stena/cloudops-elasticsearch-index-pruner

About

Docker image for cleaning up old indices, based on the curator component

Resources

Stars

Watchers

Forks

Packages

No packages published