Skip to content

gergo-dryrun/curator-lambda-aws-es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Curator lambda for AWS ElasticSearch

Inspired by the post from elastic

Deploys a lambda function to run curator on a scheduled basis.

Curator config

Create a yaml configuration file for your ElasticSearch domains and upload it to s3.

---
- name: example logging cluster
  endpoint: search-domain-logstash-vnojmawsc.us-west-1.es.amazonaws.com
  indices:
    - prefix: logstash-
      days: 365

- name: example metrics cluster
  endpoint: search-domain-metrics-vnojmawsc.us-west-1.es.amazonaws.com
  indices:
    - prefix: metricbeat-
      days: 14
    - prefix: packetbeat-
      days: 14

After you have uploaded the configuration file you can launch the stack

You can specify the CronSchedule either via a lambda cron expression or rate expression.

The lambda function uses Signature Version 4 Signing Process to authenticate against the ElasticSearch domains.

Tested and validated against ElasticSearch version 5.1

Enjoy!

About

Curator lambda for AWS ElasticSearch 5.1 using IAM roles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published