Skip to content

HomesNZ/docker-elasticsearch-curator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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

Usage

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.

Elasticsearch configuration

  • ELASTICSEARCH_HOST: The host where elasticsearch is running (defaults to elasticsearch)
  • ELASTICSEARCH_TCP_PORT: The port where elasticsearch is listening (defaults to 9200)

About

A docker that runs the curator job at given schedule.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%