Skip to content

Docker Alpine image with Elasticsearch Curator cron job

License

Notifications You must be signed in to change notification settings

LexPredict/es-curator-cron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es-curator-cron

Elasticsearch v7 Curator Logstash indices retention cron job based on: https://github.com/stefanprodan/es-curator-cron

Run

Docker Swarm stack:

version: "3.7"

services:
  curator:
    image: lexpredict/es-curator-cron:latest
    environment:
      - "PERIOD=15min"
      - "KEEP_DAYS=30"
      - "INDEX_PREFIX=logstash"
    command: "--host elasticsearch --port 9200"

You can set the cron PERIOD to 15min, hourly, daily, weekly and monthly.

The default index pattern is [prefix-]%Y.%m.%d.

About

Docker Alpine image with Elasticsearch Curator cron job

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 70.9%
  • Dockerfile 29.1%