Skip to content

lucyio/docker-elasticsearch-curator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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 OLDER_THAN_IN_DAYS="10" --link es1:elasticsearch visity/elasticsearch-curator

where es1 is the name of the elasticsearch container and

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

About

A docker that runs the curator job at given schedule.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%