Skip to content

Puppet module to install elasticsearch-curator and configure curation jobs

License

Notifications You must be signed in to change notification settings

salsify/evenup-curator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

A puppet module for installing and configuring elasticsearch-curator.

Curator is used to manaage and clean up time-series elasticsearch indexes.

A good blog post on why and how curator.

NOTE: If you are using curator < 1.1.0 use version 0.0.1 of this module.

Installation

Currently this package supports installing curator via pip or your local package manager. RPM packages can easly be created by running:

fpm -s python -t rpm urllib3
fpm -s python -t rpm elasticsearch
fpm -s python -t rpm elasticsearch-curator

Usage:

Generic curator install (local package manager)

  class { 'curator': }

Install via pip

  class { 'curator':
    provider => 'pip'
  }

Disable bloom filters on indexes over 2 days old

  curator::job { 'logstash_bloom':
    bloom_older     => 2,
    cron_hour       => 7,
    cron_minute     => 20,
  }

Delete marvel indexes older than a week

  curator::job { 'marvel_delete':
    prefix          => '.marvel-',
    delete_older    => 7,
    cron_hour       => 7,
    cron_minute     => 02
  }

Additional tuning and defaults are listed in the job.pp.

Known Issues:

Only tested on CentOS 6

License:


Released under the Apache 2.0 licence

Contribute:

  • Fork it
  • Create a topic branch
  • Improve/fix (with spec tests)
  • Push new topic branch
  • Submit a PR

About

Puppet module to install elasticsearch-curator and configure curation jobs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 55.3%
  • Ruby 44.7%