Sign inSign up

chenlmdocker/docker-elasticsearch-curator

By chenlmdocker

•Updated over 8 years ago

docker elasticsearch curator

Image
1

137

chenlmdocker/docker-elasticsearch-curator repository overview

⁠docker-elasticsearch-curator

This only job executed by the docker built from this repository is to clean the elastic search logstash history leaving only a configurable amount of days worth of logging in the system. The job runs in the specified interval.

It can be run as follows:

docker run -d -e INTERVAL_IN_HOURS=24 -e DELETE_THAN_IN_DAYS="20" -e CLOSE_THAN_IN_DAYS="10" --link es1:elasticsearch chenlmdocker/docker-elasticsearch-curator

where es1 is the name of the elasticsearch container and

  • INTERVAL_IN_HOURS: The amount of time between two curator runs
  • DELETE_THAN_IN_DAYS: Indicates all logs with a date exceeding this age can be deleted.
  • CLOSE_THAN_IN_DAYS: Indicates all logs with a date exceeding this age can be closed.

Tag summary

Content type

Image

Digest

Size

32.8 MB

Last updated

over 8 years ago

docker pull chenlmdocker/docker-elasticsearch-curator