Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

stefanprodan/es-curator-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es-curator-cron

Elasticsearch v6 Curator Logstash indices retention cron job

Run

Docker Swarm stack:

version: "3.3"

services:
  curator:
    image: stefanprodan/es-curator-cron
    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