Skip to content

Docker image used to clean all filebeat and journalbeat indices older than one week

License

Notifications You must be signed in to change notification settings

zazuko/elastic-cleanup-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastic cleanup cron

Purpose

Using Elasticsearch OSS edition, there is no option to automatically delete old indices. This project is a Docker image that should be run as a CronJob once a day, to clean all filebeat and journalbeat indices older than one week.

Configuration

Configuration is made through the following environment variables:

  • ELASTIC_INSTANCE (default: http://elasticsearch-master:9200), URL of the Elasticsearch instance.

About

Docker image used to clean all filebeat and journalbeat indices older than one week

Topics

Resources

License

Stars

Watchers

Forks

Packages